| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class CompiledTypeContext implements DefinitionContextInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var NamedTypeInterface |
||
| 24 | */ |
||
| 25 | private NamedTypeInterface $type; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * CompiledTypeContext constructor. |
||
| 29 | * |
||
| 30 | * @param NamedTypeInterface $type |
||
| 31 | */ |
||
| 32 | public function __construct(NamedTypeInterface $type) |
||
| 33 | { |
||
| 34 | $this->type = $type; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritDoc} |
||
| 39 | */ |
||
| 40 | public function getName(): string |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritDoc} |
||
| 47 | */ |
||
| 48 | public function resolve(array $variables = []): DefinitionInterface |
||
| 53 |