ProtectedResource
class ProtectedResource implements Arrayable, Jsonable, Transient
Methods
__construct(string $id, string $description)
Create a new resource instance.
static void
validateIdentifiers(array $resources)
Validate the identifiers in a resource catalog.
array
toArray()
Get the instance as an array.
string
toJson(int $options = 0)
Convert the object to its JSON representation.
Details
at line 21
__construct(string $id, string $description)
Create a new resource instance.
at line 32
static void
validateIdentifiers(array $resources)
Validate the identifiers in a resource catalog.
at line 48
array
toArray()
Get the instance as an array.
at line 59
string
toJson(int $options = 0)
Convert the object to its JSON representation.