Module
class Module implements Arrayable, ArrayAccess, JsonSerializable
Class Module.
Traits
Trait HasAttributes.
Properties
protected array | $attributes | attributes | from HasAttributesTrait |
Methods
__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.
in
HasAttributesTrait at line 33
null
get(string $offset, null $default = null)
get
in
HasAttributesTrait at line 43
bool
offsetExists(mixed $offset)
Whether a offset exists.
in
HasAttributesTrait at line 53
mixed
offsetGet(mixed $offset)
Offset to retrieve.
in
HasAttributesTrait at line 63
offsetSet(mixed $offset, mixed $value)
Offset to set.
in
HasAttributesTrait at line 72
offsetUnset(mixed $offset)
Offset to unset.
in
HasAttributesTrait at line 81
array
jsonSerialize()
Specify data which should be serialized to JSON.
at line 23
__construct($slug)
Module constructor.
at line 36
string
directory()
No description
at line 44
string
namespace()
No description
at line 52
string
slug()
No description
at line 60
bool
isEnabled()
No description
at line 68
bool
validate()
No description