PHP Class Themosis\Foundation\DataContainer

Inheritance: implements ArrayAcces\ArrayAccess
Afficher le fichier Open project: themosis/framework

Protected Properties

Свойство Type Description
$properties array Instance properties.

Méthodes publiques

Méthode Description
offsetExists ( string $offset ) : boolean Check if a property exists.
offsetGet ( string $offset ) : mixed Property to fetch.
offsetSet ( string $offset, mixed $value ) Set a new property.
offsetUnset ( string $offset ) Property to remove.

Method Details

offsetExists() public méthode

Check if a property exists.
public offsetExists ( string $offset ) : boolean
$offset string The property key.
Résultat boolean True on success, false on failure.

offsetGet() public méthode

Property to fetch.
public offsetGet ( string $offset ) : mixed
$offset string The property key.
Résultat mixed

offsetSet() public méthode

Set a new property.
public offsetSet ( string $offset, mixed $value )
$offset string The property key.
$value mixed The property value.

offsetUnset() public méthode

Property to remove.
public offsetUnset ( string $offset )
$offset string The property key.

Property Details

$properties protected_oe property

Instance properties.
protected array $properties
Résultat array