PHP 클래스 Dumplie\Metadata\Infrastructure\InMemory\InMemoryStorage

상속: implements Dumplie\Metadata\Storage
파일 보기 프로젝트 열기: dumplie/dumplie

공개 메소드들

메소드 설명
__construct ( )
alter ( Schema $schema )
create ( Schema $schema )
delete ( string $schema, string $typeName, string $id )
diff ( Schema $schema ) : ChangeSet
drop ( Schema $schema )
findBy ( string $schema, string $typeName, array $criteria = [] ) : array
has ( string $schema, string $typeName, string $id ) : boolean
save ( string $schema, string $typeName, string $id, array $metadata = [] )

비공개 메소드들

메소드 설명
matchesCriteria ( array $criteria, array $metadata ) : boolean
schemaExists ( string $schema ) : boolean
typeExists ( string $schema, string $typeName ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( )

alter() 공개 메소드

public alter ( Schema $schema )
$schema Dumplie\Metadata\Schema

create() 공개 메소드

public create ( Schema $schema )
$schema Dumplie\Metadata\Schema

delete() 공개 메소드

public delete ( string $schema, string $typeName, string $id )
$schema string
$typeName string
$id string

diff() 공개 메소드

public diff ( Schema $schema ) : ChangeSet
$schema Dumplie\Metadata\Schema
리턴 Dumplie\Metadata\Schema\ChangeSet

drop() 공개 메소드

public drop ( Schema $schema )
$schema Dumplie\Metadata\Schema

findBy() 공개 메소드

public findBy ( string $schema, string $typeName, array $criteria = [] ) : array
$schema string
$typeName string
$criteria array
리턴 array

has() 공개 메소드

public has ( string $schema, string $typeName, string $id ) : boolean
$schema string
$typeName string
$id string
리턴 boolean

save() 공개 메소드

public save ( string $schema, string $typeName, string $id, array $metadata = [] )
$schema string
$typeName string
$id string
$metadata array