class Module implements Arrayable, ArrayAccess, JsonSerializable

Class Module.

Traits

Trait HasAttributes.

Properties

protected array $attributes attributes from  HasAttributesTrait

Methods

array
toArray()

Get the instance as an array.

null
get(string $offset, null $default = null)

get

bool
offsetExists(mixed $offset)

Whether a offset exists.

mixed
offsetGet(mixed $offset)

Offset to retrieve.

offsetSet(mixed $offset, mixed $value)

Offset to set.

offsetUnset(mixed $offset)

Offset to unset.

array
jsonSerialize()

Specify data which should be serialized to JSON.

__construct($slug)

Module constructor.

string
directory()

No description

string
namespace()

No description

string
slug()

No description

bool
isEnabled()

No description

bool
validate()

No description

Details

in HasAttributesTrait at line 22
array toArray()

Get the instance as an array.

Return Value

array

in HasAttributesTrait at line 33
null get(string $offset, null $default = null)

get

Parameters

string $offset offset
null $default default

Return Value

null

in HasAttributesTrait at line 43
bool offsetExists(mixed $offset)

Whether a offset exists.

Parameters

mixed $offset offset

Return Value

bool

in HasAttributesTrait at line 53
mixed offsetGet(mixed $offset)

Offset to retrieve.

Parameters

mixed $offset offset

Return Value

mixed

in HasAttributesTrait at line 63
offsetSet(mixed $offset, mixed $value)

Offset to set.

Parameters

mixed $offset offset
mixed $value value

in HasAttributesTrait at line 72
offsetUnset(mixed $offset)

Offset to unset.

Parameters

mixed $offset offset

in HasAttributesTrait at line 81
array jsonSerialize()

Specify data which should be serialized to JSON.

Return Value

array

at line 23
__construct($slug)

Module constructor.

Parameters

$slug

at line 36
string directory()

No description

Return Value

string

at line 44
string namespace()

No description

Return Value

string

at line 52
string slug()

No description

Return Value

string

at line 60
bool isEnabled()

No description

Return Value

bool

at line 68
bool validate()

No description

Return Value

bool