PHP Class Everzet\PersistedObjects\InMemoryRepository

Inheritance: implements Everzet\PersistedObjects\Repository
Afficher le fichier Open project: everzet/persisted-objects

Méthodes publiques

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

Private Methods

Méthode Description
getIdentity ( $object )
stringify ( $object )

Method Details

__construct() public méthode

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

clear() public méthode

public clear ( )

findById() public méthode

public findById ( $id )

getAll() public méthode

public getAll ( )

remove() public méthode

public remove ( $object )

save() public méthode

public save ( $object )