WebviepRoleKey
in package
FinalYes
Value object representing a sanitized role key/slug.
Table of Contents
Properties
- $value : string
Methods
- __construct() : mixed
- __toString() : string
- String representation.
- equals() : bool
- Compare role keys.
- value() : string
- Raw value.
Properties
$value
private
string
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
-
Lowercase slug (letters/numbers/_/-)
Tags
__toString()
String representation.
public
__toString() : string
Return values
stringequals()
Compare role keys.
public
equals(WebviepRoleKey $other) : bool
Parameters
- $other : WebviepRoleKey
Return values
boolvalue()
Raw value.
public
value() : string