Interface CommandFactoryInterface
An interface for abstracting creation of command and shell instances.
Direct Implementers
Method Summary
- create() publicThe factory method for creating Command and Shell instances.
Method Detail
create()source 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\Command
© 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/3.7/class-Cake.Console.CommandFactoryInterface.html