Bracket
class Bracket implements Stringable (View source)
Bracket type is for processing from database bracket field.
Methods
string|int
left()
Get the first element of the array.
string|int
right()
Get the second element of the array.
string|int
to(string|null $default = null)
Get a value or default value.
string|int
escape()
Get an escaped value.
string
array()
Get an array of values.
string
__toString()
Class magic method to get the instance information for a Exception
Details
string|int
left()
Get the first element of the array.
string|int
right()
Get the second element of the array.
string|int
to(string|null $default = null)
Get a value or default value.
string|int
escape()
Get an escaped value.
string
array()
Get an array of values.
string
__toString()
Class magic method to get the instance information for a Exception
static Bracket
of(string|null $value)
Create a instance.