PHP Class WPKB\ServiceContainer

Inheritance: implements ArrayAcces\ArrayAccess
Afficher le fichier Open project: ibericode/wp-knowledge-base Class Usage Examples

Protected Properties

Свойство Type Description
$resolved_services array
$services array

Méthodes publiques

Méthode Description
get ( $name ) : mixed
has ( $name ) : boolean
offsetExists ( mixed $offset ) : boolean (PHP 5 >= 5.0.0)
Whether a offset exists
offsetGet ( mixed $offset ) : mixed (PHP 5 >= 5.0.0)
Offset to retrieve
offsetSet ( mixed $offset, mixed $value ) : void (PHP 5 >= 5.0.0)
Offset to set
offsetUnset ( mixed $offset ) : void (PHP 5 >= 5.0.0)
Offset to unset

Method Details

get() public méthode

public get ( $name ) : mixed
$name
Résultat mixed

has() public méthode

public has ( $name ) : boolean
$name
Résultat boolean

offsetExists() public méthode

(PHP 5 >= 5.0.0)
Whether a offset exists
public offsetExists ( mixed $offset ) : boolean
$offset mixed

An offset to check for.

Résultat boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

offsetGet() public méthode

(PHP 5 >= 5.0.0)
Offset to retrieve
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

Résultat mixed Can return all value types.

offsetSet() public méthode

(PHP 5 >= 5.0.0)
Offset to set
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

Résultat void

offsetUnset() public méthode

(PHP 5 >= 5.0.0)
Offset to unset
public offsetUnset ( mixed $offset ) : void
$offset mixed

The offset to unset.

Résultat void

Property Details

$resolved_services protected_oe property

protected array $resolved_services
Résultat array

$services protected_oe property

protected array $services
Résultat array