IResource
in
Tags
Table of Contents
Methods
- canAccess() : bool
- Can a user/guest access the resource
- getCollections() : array<string|int, ICollection>
- getId() : string
- getRichObject() : array<string|int, mixed>
- getType() : string
Methods
canAccess()
Can a user/guest access the resource
public
canAccess(IUser|null $user) : bool
Parameters
- $user : IUser|null
Tags
Return values
boolgetCollections()
public
getCollections() : array<string|int, ICollection>
Tags
Return values
array<string|int, ICollection>getId()
public
getId() : string
Tags
Return values
stringgetRichObject()
public
getRichObject() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getType()
public
getType() : string