| 1 | <?php |
||
| 20 | abstract class AbstractTypeInvocation extends AbstractDefinition implements TypeInvocation |
||
| 21 | { |
||
| 22 | use HasName; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * AbstractTypeInvocation constructor. |
||
| 26 | * @param Document|DocumentInterface $document |
||
| 27 | * @param string|null $name |
||
| 28 | */ |
||
| 29 | 1 | public function __construct(Document $document, ?string $name) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return TypeDefinition |
||
| 37 | * @throws \Railt\Io\Exception\ExternalFileException |
||
| 38 | */ |
||
| 39 | 1 | public function getDefinition(): TypeDefinition |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function __toString(): string |
||
| 51 | } |
||
| 52 |