Method |
Description |
|
__construct ( Doctrine\DBAL\Connection $connection, TypeRegistry $typeRegistry ) |
DoctrineStorage constructor. |
|
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 |
Needs to return metadata in following format:
[
'id' => 'e94e4c36-3ffb-49b6-b8a5-973fa5c4aee6',
'sku' => 'DUMPLIE_SKU_1',
'name' => 'Product name'
]
Key 'id' is required. |
|
has ( string $schema, string $typeName, string $id ) : boolean |
|
|
save ( string $schema, string $typeName, string $id, array $metadata = [] ) |
|
|