Class CommandFactory
This is a factory for creating Command and Shell instances.
This factory can be replaced or extended if you need to customize building your command and shell objects.
Namespace: Cake\Console
Method Summary
-
create() public
The factory method for creating Command and Shell instances.
Method Detail
create() ΒΆ public
create(string $className): Cake\Console\ShellCake\Console\CommandInterface
The factory method for creating Command and Shell instances.
Parameters
-
string
$className
Returns
Cake\Console\ShellCake\Console\CommandInterface