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.
Cake\Core\ContainerInterface|nullConstructor
The factory method for creating Command and Shell instances.
__construct(Cake\Core\ContainerInterface|null $container = null)
Constructor
Cake\Core\ContainerInterface|null $container optional The container to use if available.
create(string $className): Cake\Console\ShellCake\Console\CommandInterface
The factory method for creating Command and Shell instances.
string $className Cake\Console\ShellCake\Console\CommandInterfaceCake\Core\ContainerInterface|null
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/class-Cake.Console.CommandFactory.html