Type
in package
Class Type
Table of Contents
- REGEX = '/[a-z]+\.[a-z]+/'
- $value : string
- create() : self
- Create instance.
- value() : string
- Return value.
- __construct() : mixed
- Constructor.
Constants
REGEX
private
mixed
REGEX
= '/[a-z]+\.[a-z]+/'
Properties
$value
private
string
$value
Methods
create()
Create instance.
public
static create(string $type) : self
Parameters
- $type : string
Return values
self —value()
Return value.
public
value() : string
Return values
string —__construct()
Constructor.
private
__construct(string $value) : mixed
Parameters
- $value : string