IProvider
in
Tags
Table of Contents
Methods
- canAccessResource() : bool
- Can a user/guest access the collection
- getResourceRichObject() : array<string|int, mixed>
- Get the rich object data of a resource
- getType() : string
- Get the resource type of the provider
Methods
canAccessResource()
Can a user/guest access the collection
public
canAccessResource(IResource $resource, IUser|null $user) : bool
Parameters
Tags
Return values
boolgetResourceRichObject()
Get the rich object data of a resource
public
getResourceRichObject(IResource $resource) : array<string|int, mixed>
Parameters
- $resource : IResource
Tags
Return values
array<string|int, mixed>getType()
Get the resource type of the provider
public
getType() : string