| 1 | <?php |
||
| 21 | class AnyType extends BaseScalar implements StandardType |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * The Any scalar public name constant. |
||
| 25 | * This name will be used in the future as the |
||
| 26 | * type name available for use in our schema. |
||
| 27 | */ |
||
| 28 | protected const SCALAR_TYPE_NAME = 'Any'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Short Any scalar public description. |
||
| 32 | */ |
||
| 33 | protected const TYPE_DESCRIPTION = 'The `Any` scalar type represents any value that is supported by underlying |
||
| 34 | serialization protocol (including lists and maps). It is intended to be used |
||
| 35 | as an opt-out type in cases when the exact type is not known in advance.'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param Document $document |
||
| 39 | */ |
||
| 40 | 283 | public function __construct(Document $document) |
|
| 46 | } |
||
| 47 |