class FileTypeCreator extends TypeCreator (View source)

deprecated 1.8.0 Use the latest version of graphql instead

Properties

protected CaseInsensitiveFieldAccessor $accessor
protected ThumbnailGenerator $thumbnailGenerator

Methods

public
__construct(Manager $manager = null)

No description

public
attributes()

No description

public
interfaces()

No description

public
fields()

No description

public
resolveTypeField($object, array $args, $context, $info)

No description

public
string
resolveCategoryField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
resolveUrlField($object, array $args, $context, $info)

No description

public
resolveSizeField($object, array $args, $context, $info)

No description

public
string|null
resolveSmallThumbnailField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
string|null
resolveThumbnailField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
string|null
resolveDraftField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
string|null
resolvePublishedField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
resolveModifiedField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
resolveField($object, array $args, $context, $info)

No description

public
int
resolveInUseCountField(File $object, array $args, array $context, ResolveInfo $info)

No description

public
getThumbnailGenerator()

No description

public
$this
setThumbnailGenerator(ThumbnailGenerator $generator)

No description

public static 
string|null
resolveThumbnailFieldGraceful(AssetContainer $object, array $args, array $context, ResolveInfo $info)

No description

public static 
string|null
resolveSmallThumbnailFieldGraceful(AssetContainer $object, array $args, array $context, ResolveInfo $info)

No description

Details

__construct(Manager $manager = null)

No description

Parameters

Manager $manager

attributes()

No description

interfaces()

No description

fields()

No description

resolveTypeField($object, array $args, $context, $info)

No description

Parameters

$object
array $args
$context
$info

string resolveCategoryField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

string

resolveUrlField($object, array $args, $context, $info)

No description

Parameters

$object
array $args
$context
$info

resolveSizeField($object, array $args, $context, $info)

No description

Parameters

$object
array $args
$context
$info

string|null resolveSmallThumbnailField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

string|null

string|null resolveThumbnailField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

string|null

string|null resolveDraftField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

string|null

string|null resolvePublishedField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

string|null

resolveModifiedField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

resolveField($object, array $args, $context, $info)

No description

Parameters

$object
array $args
$context
$info

int resolveInUseCountField(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

int

ThumbnailGenerator getThumbnailGenerator()

No description

Return Value

ThumbnailGenerator

$this setThumbnailGenerator(ThumbnailGenerator $generator)

No description

Parameters

ThumbnailGenerator $generator

Return Value

$this

static string|null resolveThumbnailFieldGraceful(AssetContainer $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

AssetContainer $object
array $args
array $context
ResolveInfo $info

Return Value

string|null

static string|null resolveSmallThumbnailFieldGraceful(AssetContainer $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

AssetContainer $object
array $args
array $context
ResolveInfo $info

Return Value

string|null