\Cake\ConsoleCommandFactoryInterface

An interface for abstracting creation of command and shell instances.

Summary

Methods
Constants
create()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

create()

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