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