| 1 | <?php |
||
| 20 | abstract class AbstractTypeInvocation extends AbstractDefinition implements TypeInvocation |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $name; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * AbstractTypeInvocation constructor. |
||
| 29 | * @param Document $document |
||
| 30 | * @param string $name |
||
| 31 | */ |
||
| 32 | 1 | public function __construct(Document $document, string $name) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return TypeDefinition |
||
| 41 | */ |
||
| 42 | 1 | public function getDefinition(): TypeDefinition |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getName(): string |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | public function __toString(): string |
||
| 62 | } |
||
| 63 |