class FileTypeCreator extends TypeCreator (View source)

Methods

__construct(Manager $manager = null)

No description

attributes()

No description

interfaces()

No description

fields()

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

$this
setThumbnailGenerator(ThumbnailGenerator $generator)

No description

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

No description

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

No description

Details

__construct(Manager $manager = null)

Parameters

Manager $manager

attributes()

interfaces()

fields()

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

Parameters

$object
array $args
$context
$info

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

Parameters

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

Return Value

string

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

Parameters

$object
array $args
$context
$info

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

Parameters

$object
array $args
$context
$info

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

Parameters

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

Return Value

string|null

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

Parameters

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

Return Value

string|null

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

Parameters

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

Return Value

string|null

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

Parameters

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

Return Value

string|null

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

Parameters

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

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

Parameters

$object
array $args
$context
$info

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

Parameters

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

Return Value

int

ThumbnailGenerator getThumbnailGenerator()

Return Value

ThumbnailGenerator

$this setThumbnailGenerator(ThumbnailGenerator $generator)

Parameters

ThumbnailGenerator $generator

Return Value

$this

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

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)

Parameters

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

Return Value

string|null