Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Webmozart
Console
Api
Command
CommandCollection
__construct
Webmozart\Console\Api\Command\CommandCollection::__construct PHP Method
CommandCollection Class Documentation
显示文件
Open project: webmozart/console
__construct()
public
method
Creates a new command collection.
public
__construct
(
array
$commands
= [] )
$commands
array
The commands to initially add to the collection.
public function __construct(array $commands = array()) { $this->merge($commands); }
CommandCollection
__construct
add
clear
contains
count
filterAnonymous
filterDefault
filterNonAnonymous
filterNonDefault
get
getAliases
getIterator
getNames
isEmpty
merge
offsetExists
offsetGet
offsetSet
offsetUnset
remove
replace
toArray