\Cake\ConsoleCommandFactory

This is a factory for creating Command and Shell instances.

This factory can be replaced or extended if you need to customize building your command and shell objects.

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties 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