Documentation

FragmentDirective extends Stringable
in

Tags
see
https://wicg.github.io/scroll-to-text-fragment/#the-fragment-directive

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

equals()

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
bool

name()

The decoded Directive name.

public name() : non-empty-string
Return values
non-empty-string

toString()

The encoded string representation of the fragment.

public toString() : string
Return values
string

value()

The decoded Directive value.

public value() : string|null
Return values
string|null

        
On this page

Search results