| 1 | <?php |
||
| 14 | class SchemaType extends AbstractObjectType |
||
| 15 | { |
||
| 16 | |||
| 17 | /** @var Schema */ |
||
| 18 | public static $schema; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param $schema Schema |
||
| 22 | */ |
||
| 23 | 18 | public function setSchema($schema) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return Schema |
||
| 30 | */ |
||
| 31 | 4 | public function getSchema() |
|
| 35 | |||
| 36 | 4 | public function resolve($value = null, $args = []) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return String type name |
||
| 43 | */ |
||
| 44 | 18 | public function getName() |
|
| 48 | |||
| 49 | 5 | protected function build(TypeConfigInterface $config) |
|
| 57 | } |