Skip to content

Commit cbff34a

Browse files
committed
added new CachedSchemaParser.
1 parent 3042af3 commit cbff34a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace N3XT0R\MigrationGenerator\Service\Parser\Cache;
6+
7+
use N3XT0R\MigrationGenerator\Service\Parser\AbstractSchemaParser;
8+
use N3XT0R\MigrationGenerator\Service\Parser\SchemaParserInterface;
9+
10+
class CachedSchemaParser extends AbstractSchemaParser implements SchemaParserInterface
11+
{
12+
public function getTablesFromSchema(string $schema): array
13+
{
14+
// TODO: Implement getTablesFromSchema() method.
15+
}
16+
17+
protected function getForeignKeyConstraints(string $schema, string $tableName): array
18+
{
19+
// TODO: Implement getForeignKeyConstraints() method.
20+
}
21+
22+
protected function getRefNameByConstraintName(string $schema, string $constraintName): string
23+
{
24+
// TODO: Implement getRefNameByConstraintName() method.
25+
}
26+
27+
}

0 commit comments

Comments
 (0)