PHP Класс BaseModel

Наследование: extends Eloquent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
get ( string $reference ) : object Gets a service by id.
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
has ( string $reference ) : boolean Returns true if the service id is defined.
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

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

get() публичный статический Метод

Gets a service by id.
public static get ( string $reference ) : object
$reference string The service id
Результат object The service

getContainer() публичный статический Метод

public static getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Результат Symfony\Component\DependencyInjection\ContainerInterface

has() публичный статический Метод

Returns true if the service id is defined.
public static has ( string $reference ) : boolean
$reference string The service id
Результат boolean true if the service id is defined, false otherwise

setContainer() публичный статический Метод

public static setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface