| 1 | <?php |
||
| 20 | abstract class BaseExtend extends BaseDefinition implements ExtendDefinition |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Extend type name |
||
| 24 | */ |
||
| 25 | protected const TYPE_NAME = Type::EXTENSION; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var TypeDefinition |
||
| 29 | */ |
||
| 30 | protected $type; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $name = self::TYPE_NAME; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return TypeDefinition |
||
| 39 | */ |
||
| 40 | public function getRelatedType(): TypeDefinition |
||
| 44 | } |
||
| 45 |