class FolderTypeResolver (View source)

Methods

static mixed
resolveFolderChildren(Folder $object, array $args, array $context, ResolveInfo $info)

No description

static int
resolveFolderDescendantFileCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

static int
resolveFolderFilesInUseCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

static File[]
resolveFolderParents(File $object, array $args, array $context, ResolveInfo $info)

No description

static Closure
sortChildren(array $context)

No description

Details

static mixed resolveFolderChildren(Folder $object, array $args, array $context, ResolveInfo $info)

Parameters

Folder $object
array $args
array $context
ResolveInfo $info

Return Value

mixed

Exceptions

InvalidArgumentException
Exception

static int resolveFolderDescendantFileCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

Parameters

Folder|AssetAdminFile $object
array $args
array $context
ResolveInfo $info

Return Value

int

static int resolveFolderFilesInUseCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

Parameters

Folder|AssetAdminFile $object
array $args
array $context
ResolveInfo $info

Return Value

int

static File[] resolveFolderParents(File $object, array $args, array $context, ResolveInfo $info)

Parameters

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

Return Value

File[]

static Closure sortChildren(array $context)

Parameters

array $context

Return Value

Closure