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\ShellCake\Console\CommandInterface
The factory method for creating Command and Shell instances.
Parameters
-
string
$className Command/Shell class name.
Returns
Cake\Console\ShellCake\Console\CommandInterface