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
/
types
/
input
/
File.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\gql\types\input; use craft\gql\GqlEntityRegistry; use GraphQL\Type\Definition\InputObjectType; use GraphQL\Type\Definition\Type; /** * Class File * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.5.0 */ class File extends InputObjectType { /** * @return mixed */ public static function getType(): mixed { $typeName = 'FileInput'; return GqlEntityRegistry::getOrCreate($typeName, fn() => new InputObjectType([ 'name' => $typeName, 'fields' => [ 'fileData' => [ 'name' => 'fileData', 'type' => Type::string(), 'description' => 'The contents of the file in Base64 format. If provided, takes precedence over the URL.', ], 'filename' => [ 'name' => 'filename', 'type' => Type::string(), 'description' => 'The file name to use (including the extension) data with the `fileData` field.', ], 'url' => [ 'name' => 'url', 'type' => Type::string(), 'description' => 'The URL of the file.', ], ], ])); } }
/srv/users/craft4/apps/craft4-newsite-space/./vendor/./craftcms/cms/src/gql/types/input/File.php