| 1 | <?php |
||
| 5 | abstract class AbstractType |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $name; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $description; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The GraphQL class used to build the final schema |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $internalType = 'ObjectType'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getName() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $name |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function setName($name) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getDescription() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $description |
||
| 53 | * @return $this |
||
| 54 | */ |
||
| 55 | public function setDescription($description) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getInternalType() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param string $internalType |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | public function setInternalType($internalType) |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @return array<string,mixed> |
||
| 83 | */ |
||
| 84 | public function toMapping() |
||
| 91 | } |
||
| 92 |