\FW\UtilsContainer

Container class for holding module objects

Uses the pimple container library (http://pimple.sensiolabs.org)

Summary

Methods
Properties
Constants
get()
set()
has()
remove()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get()

get(string  $id) : mixed

Gets a container value

Parameters

string $id

id to get

Returns

mixed —

object gotten

set()

set(string  $id, mixed  $value) 

Sets a container value

Parameters

string $id

id to set

mixed $value

value to set

has()

has(string  $id) : boolean

Checks if the container has a certain value

Parameters

string $id

id to check

Returns

boolean —

if the id exists in the container

remove()

remove(string  $id) : mixed

Removes a value from the container

Parameters

string $id

id to remove

Returns

mixed —

removed object