1 | <?php |
||
19 | class SchemaToolProvider |
||
20 | { |
||
21 | /** |
||
22 | * The entity manager. |
||
23 | * |
||
24 | * @var EntityManagerInterface |
||
25 | */ |
||
26 | protected $entityManager; |
||
27 | |||
28 | /** |
||
29 | * The schema tool. |
||
30 | * |
||
31 | * @var SchemaTool |
||
32 | */ |
||
33 | protected $schemaTool; |
||
34 | |||
35 | /** |
||
36 | * The schema validator. |
||
37 | * |
||
38 | * @var SchemaValidator |
||
39 | */ |
||
40 | protected $schemaValidator; |
||
41 | |||
42 | /** |
||
43 | * Create schema tool provider object. |
||
44 | * |
||
45 | * @param EntityManagerInterface $entityManager |
||
46 | */ |
||
47 | 4 | public function __construct(EntityManagerInterface $entityManager) |
|
51 | |||
52 | /** |
||
53 | * Get schema tool. |
||
54 | * |
||
55 | * @return SchemaTool |
||
56 | */ |
||
57 | 2 | public function getSchemaTool() |
|
65 | |||
66 | /** |
||
67 | * Get schema validator. |
||
68 | * |
||
69 | * @return SchemaValidator |
||
70 | */ |
||
71 | 2 | public function getSchemaValidator() |
|
79 | } |
||
80 |