Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class CachedSchemaFactoryDecorator implements SchemaFactory |
||
10 | { |
||
11 | /** @var SchemaFactory */ |
||
12 | private $schemaFactory; |
||
13 | |||
14 | /** @var CacheItemPoolInterface */ |
||
15 | private $cache; |
||
16 | |||
17 | public function __construct(CacheItemPoolInterface $cache, SchemaFactory $schemaFactory) |
||
18 | 2 | { |
|
19 | $this->cache = $cache; |
||
20 | 2 | $this->schemaFactory = $schemaFactory; |
|
21 | 2 | } |
|
22 | 2 | ||
23 | public function createSchema($schemaFile) |
||
35 | 2 | } |
|
36 | } |
||
37 |