Token
abstract class Token implements Stringable (View source)
Methods
__construct(string $value)
Constructor.
bool
is(string $value)
Determine if the token is the given value.
bool
isNot(string $value)
Determine if the token is not the given value.
string
__toString()
Get the token's value.
Details
__construct(string $value)
Constructor.
bool
is(string $value)
Determine if the token is the given value.
bool
isNot(string $value)
Determine if the token is not the given value.
string
__toString()
Get the token's value.