PHP Trait Bluz\Common\Container\Container

Afficher le fichier Open project: bluzphp/framework

Protected Properties

Свойство Type Description
$container Container of elements

Méthodes publiques

Méthode Description
resetArray ( ) : self Reset container array
setFromArray ( array $data ) : self Sets all data in the row from an array
toArray ( ) : array Returns the column/value data as an array

Méthodes protégées

Méthode Description
doContainsContainer ( string $key ) : boolean Check contains key in container
doDeleteContainer ( string $key ) : void Delete value by key
doGetContainer ( string $key ) : mixed Get value by key
doSetContainer ( string $key, mixed $value ) : void Set key/value pair

Method Details

doContainsContainer() protected méthode

Check contains key in container
protected doContainsContainer ( string $key ) : boolean
$key string
Résultat boolean

doDeleteContainer() protected méthode

Delete value by key
protected doDeleteContainer ( string $key ) : void
$key string
Résultat void

doGetContainer() protected méthode

Get value by key
protected doGetContainer ( string $key ) : mixed
$key string
Résultat mixed

doSetContainer() protected méthode

Set key/value pair
protected doSetContainer ( string $key, mixed $value ) : void
$key string
$value mixed
Résultat void

resetArray() public méthode

Reset container array
public resetArray ( ) : self
Résultat self

setFromArray() public méthode

Sets all data in the row from an array
public setFromArray ( array $data ) : self
$data array
Résultat self

toArray() public méthode

Returns the column/value data as an array
public toArray ( ) : array
Résultat array

Property Details

$container protected_oe property

Container of elements
protected $container