Source of file DBObjectType.php
Size: 0,466 Bytes - Last Modified: 2021-12-24T06:44:48+00:00
/var/www/docs.ssmods.com/process/src/src/ORM/FieldType/DBObjectType.php
12345678910111213141516171819202122 | <?php namespace DNADesign\Elemental\ORM\FieldType; use SilverStripe\GraphQL\Manager; use SilverStripe\ORM\FieldType\DBField; class DBObjectType extends DBField { /** * Add the field to the underlying database. */ public function requireField() { // noop - This class exists only to bind to a custom GraphQL type } public function getGraphQLType(Manager $manager) { return $manager->getType('ObjectType'); } } |