PHP Class Liip\RMT\Context

Afficher le fichier Open project: liip/rmt Class Usage Examples

Protected Properties

Свойство Type Description
$lists
$params
$services

Méthodes publiques

Méthode Description
addToList ( $id, $class, $options = null )
createEmptyList ( $id )
get ( string $serviceName ) : mixed Shortcut to retried a service
getInstance ( ) : Context
getList ( $id )
getParam ( string $name ) : mixed Shortcut to retried a parameter
getParameter ( $id )
getService ( $id )
setParameter ( $id, $value )
setService ( $id, $classOrObject, $options = null )

Méthodes protégées

Méthode Description
__construct ( )
instanciateObject ( $objectDefinition )
validateClass ( $className )

Method Details

__construct() protected méthode

protected __construct ( )

addToList() public méthode

public addToList ( $id, $class, $options = null )

createEmptyList() public méthode

public createEmptyList ( $id )

get() public static méthode

Shortcut to retried a service
public static get ( string $serviceName ) : mixed
$serviceName string
Résultat mixed

getInstance() public static méthode

public static getInstance ( ) : Context
Résultat Context

getList() public méthode

public getList ( $id )

getParam() public static méthode

Shortcut to retried a parameter
public static getParam ( string $name ) : mixed
$name string
Résultat mixed

getParameter() public méthode

public getParameter ( $id )

getService() public méthode

public getService ( $id )

instanciateObject() protected méthode

protected instanciateObject ( $objectDefinition )

setParameter() public méthode

public setParameter ( $id, $value )

setService() public méthode

public setService ( $id, $classOrObject, $options = null )

validateClass() protected méthode

protected validateClass ( $className )

Property Details

$lists protected_oe property

protected $lists

$params protected_oe property

protected $params

$services protected_oe property

protected $services