PHP Class Everzet\PersistedObjects\InMemoryRepository

Inheritance: implements Everzet\PersistedObjects\Repository
ファイルを表示 Open project: everzet/persisted-objects

Public Methods

Method Description
__construct ( Everzet\PersistedObjects\ObjectIdentifier $identifier )
clear ( )
findById ( $id )
getAll ( )
remove ( $object )
save ( $object )

Private Methods

Method Description
getIdentity ( $object )
stringify ( $object )

Method Details

__construct() public method

public __construct ( Everzet\PersistedObjects\ObjectIdentifier $identifier )
$identifier Everzet\PersistedObjects\ObjectIdentifier

clear() public method

public clear ( )

findById() public method

public findById ( $id )

getAll() public method

public getAll ( )

remove() public method

public remove ( $object )

save() public method

public save ( $object )