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
Method Detail
create() public
create(string $className)
The factory method for creating Command and Shell instances.
Parameters
-
string
$className Command/Shell class name.
Returns
\Cake\Console\Shell|\Cake\Console\CommandInterface
© 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.1/class-Cake.Console.CommandFactory.html