PHP Класс lithium\console\command\create\Mock

li3 create mock model Post li3 create --library=li3_plugin mock model Post
Наследование: extends lithium\console\command\Create
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
_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.

Описание методов

_class() защищенный Метод

Get the class name for the mock.
protected _class ( string $request ) : string
$request string
Результат string

_methods() защищенный Метод

Get the methods for the mock to override
protected _methods ( string $request ) : string
$request string
Результат string

_namespace() защищенный Метод

Get the namespace for the mock.
protected _namespace ( string $request, array | string $options = [] ) : string
$request string
$options array | string
Результат string

_parent() защищенный Метод

Get the parent for the mock.
protected _parent ( string $request ) : string
$request string
Результат string