class Scope implements Arrayable, Jsonable, Transient

Methods

__construct(string $id, string $description)

Create a new scope instance.

array
toArray()

Get the instance as an array.

string
toJson(int $options = 0)

Convert the object to its JSON representation.

Details

at line 19
__construct(string $id, string $description)

Create a new scope instance.

Parameters

string $id
string $description

at line 30
array toArray()

Get the instance as an array.

Return Value

array

at line 41
string toJson(int $options = 0)

Convert the object to its JSON representation.

Parameters

int $options

Return Value

string