VarSpecifier
in package
Table of Contents
- REGEXP_VARSPEC = '/^ (?<name>(?:[A-z0-9_\.]|%[0-9a-fA-F]{2})+) (?<modifier>\:(?<position>\d+)|\*)? $/x'
- Variables specification regular expression pattern.
- $modifier : string
- $name : string
- $position : int
- __set_state() : self
- {@inheritDoc}
- createFromString() : self
- modifier() : string
- name() : string
- position() : int
- toString() : string
- __construct() : mixed
Constants
REGEXP_VARSPEC
Variables specification regular expression pattern.
private
mixed
REGEXP_VARSPEC
= '/^
(?<name>(?:[A-z0-9_\.]|%[0-9a-fA-F]{2})+)
(?<modifier>\:(?<position>\d+)|\*)?
$/x'
Tags
Properties
$modifier
private
string
$modifier
$name
private
string
$name
$position
private
int
$position
Methods
__set_state()
{@inheritDoc}
public
static __set_state(array<string|int, mixed> $properties) : self
Parameters
- $properties : array<string|int, mixed>
Return values
self —createFromString()
public
static createFromString(string $specification) : self
Parameters
- $specification : string
Return values
self —modifier()
public
modifier() : string
Return values
string —name()
public
name() : string
Return values
string —position()
public
position() : int
Return values
int —toString()
public
toString() : string
Return values
string —__construct()
private
__construct(string $name, string $modifier, int $position) : mixed
Parameters
- $name : string
- $modifier : string
- $position : int