PHP Class bitExpert\Disco\Store\SerializableBeanStore

Inheritance: implements bitExpert\Disco\Store\BeanStore
Show file Open project: bitexpert/disco Class Usage Examples

Protected Properties

Property Type Description
$beans array

Public Methods

Method Description
__construct ( ) Creates a new {@link \bitExpert\Disco\Store\SerializableBeanStore}.
__sleep ( ) {@inheritDoc}
add ( string $beanId, $bean )
get ( string $beanId )
has ( string $beanId ) : boolean

Method Details

__construct() public method

Creates a new {@link \bitExpert\Disco\Store\SerializableBeanStore}.
public __construct ( )

__sleep() public method

{@inheritDoc}
public __sleep ( )

add() public method

public add ( string $beanId, $bean )
$beanId string

get() public method

public get ( string $beanId )
$beanId string

has() public method

public has ( string $beanId ) : boolean
$beanId string
return boolean

Property Details

$beans protected property

protected array $beans
return array