Interface CommandFactoryInterface
An interface for abstracting creation of command and shell instances.
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\Shell|Cake\Console\Command
The factory method for creating Command and Shell instances.
Parameters
-
string
$className Command/Shell class name.
Returns
Cake\Console\Shell|Cake\Console\Command