uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
.
/
vendor
/
craftcms
/
cms
/
src
/
gql
/
interfaces
/
Structure.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\gql\interfaces; use Craft; use GraphQL\Type\Definition\Type; /** * Class Structure * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.3.0 */ abstract class Structure extends Element { /** * @inheritdoc */ public static function getFieldDefinitions(): array { return Craft::$app->getGql()->prepareFieldDefinitions(array_merge(parent::getFieldDefinitions(), [ 'lft' => [ 'name' => 'lft', 'type' => Type::int(), 'description' => 'The element’s left position within its structure.', ], 'rgt' => [ 'name' => 'rgt', 'type' => Type::int(), 'description' => 'The element’s right position within its structure.', ], 'level' => [ 'name' => 'level', 'type' => Type::int(), 'description' => 'The element’s level within its structure', ], 'root' => [ 'name' => 'root', 'type' => Type::int(), 'description' => 'The element’s structure’s root ID', ], 'structureId' => [ 'name' => 'structureId', 'type' => Type::int(), 'description' => 'The element’s structure ID.', ], ]), self::getName()); } /** * @inheritdoc */ public static function getName(): string { return 'StructureInterface'; } }
/srv/users/craft4/apps/craft4-newsite-space/./vendor/craftcms/cms/src/gql/interfaces/Structure.php