FragmentDirective
extends
Stringable
in
Tags
Table of Contents
Methods
- __toString() : string
- The encoded string representation of the fragment using the Stringable interface.
- equals() : bool
- Tells whether the submitted value is equals to the string representation of the given directive.
- name() : non-empty-string
- The decoded Directive name.
- toString() : string
- The encoded string representation of the fragment.
- value() : string|null
- The decoded Directive value.
Methods
__toString()
The encoded string representation of the fragment using the Stringable interface.
public
__toString() : string
Tags
Return values
stringequals()
Tells whether the submitted value is equals to the string representation of the given directive.
public
equals(mixed $directive) : bool
Parameters
- $directive : mixed
Return values
boolname()
The decoded Directive name.
public
name() : non-empty-string
Return values
non-empty-stringtoString()
The encoded string representation of the fragment.
public
toString() : string
Return values
stringvalue()
The decoded Directive value.
public
value() : string|null