BumbleDocGen / Technical description of the project / Class map / AdditionalCommandCollection
AdditionalCommandCollection class:
namespace BumbleDocGen\Console\Command;
final class AdditionalCommandCollection implements \IteratorAggregate, \Traversable- add
- create
- getIterator - Retrieve an external iterator
- # add | source code
public function add(\Symfony\Component\Console\Command\Command $command): \BumbleDocGen\Console\Command\AdditionalCommandCollection;Parameters:
| Name | Type | Description |
|---|---|---|
| $command | \Symfony\Component\Console\Command\Command | - |
Return value: \BumbleDocGen\Console\Command\AdditionalCommandCollection
- # create | source code
public static function create(\Symfony\Component\Console\Command\Command ...$commands): \BumbleDocGen\Console\Command\AdditionalCommandCollection;Parameters:
| Name | Type | Description |
|---|---|---|
| $commands (variadic) | \Symfony\Component\Console\Command\Command | - |
Return value: \BumbleDocGen\Console\Command\AdditionalCommandCollection
- # getIterator | source code
public function getIterator(): \Generator;Retrieve an external iterator
Parameters: not specified
Return value: \Generator
Throws:
- \Exception - on failure.
See: