PHP Class lithium\console\command\create\Mock

li3 create mock model Post li3 create --library=li3_plugin mock model Post
Inheritance: extends lithium\console\command\Create
Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Protected Methods

Method Description
_class ( string $request ) : string Get the class name for the mock.
_methods ( string $request ) : string Get the methods for the mock to override
_namespace ( string $request, array | string $options = [] ) : string Get the namespace for the mock.
_parent ( string $request ) : string Get the parent for the mock.

Method Details

_class() protected method

Get the class name for the mock.
protected _class ( string $request ) : string
$request string
return string

_methods() protected method

Get the methods for the mock to override
protected _methods ( string $request ) : string
$request string
return string

_namespace() protected method

Get the namespace for the mock.
protected _namespace ( string $request, array | string $options = [] ) : string
$request string
$options array | string
return string

_parent() protected method

Get the parent for the mock.
protected _parent ( string $request ) : string
$request string
return string