| 1 | <?php |
||
| 20 | abstract class AbstractType extends GraphQLType |
||
| 21 | { |
||
| 22 | use EnumsSupport; |
||
| 23 | use FeaturesSupport; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * AbstractType constructor. |
||
| 27 | * @param array $attributes |
||
| 28 | */ |
||
| 29 | public function __construct($attributes = []) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function fields(): array |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | abstract public function typeFields(): array; |
||
| 47 | } |
||
| 48 |