| 1 | <?php |
||
| 19 | class GlobalContext extends AbstractContext |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param string $type |
||
| 23 | * @param array $variables |
||
| 24 | * @return TypeDefinition |
||
| 25 | * @throws TypeNotFoundException |
||
| 26 | */ |
||
| 27 | public function get(string $type, array $variables = []): TypeDefinition |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param Document $document |
||
| 38 | * @return DocumentContext |
||
| 39 | */ |
||
| 40 | public function fromDocument(Document $document): DocumentContext |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function __toString(): string |
||
| 52 | } |
||
| 53 |