PHP Class BaseModel

Inheritance: extends Eloquent
Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Méthodes publiques

Méthode Description
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 )

Method Details

get() public static méthode

Gets a service by id.
public static get ( string $reference ) : object
$reference string The service id
Résultat object The service

getContainer() public static méthode

public static getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Résultat Symfony\Component\DependencyInjection\ContainerInterface

has() public static méthode

Returns true if the service id is defined.
public static has ( string $reference ) : boolean
$reference string The service id
Résultat boolean true if the service id is defined, false otherwise

setContainer() public static méthode

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