Documentation

RegularExpression
in package
implements TypeInterface

This is a type class of Regular Expression

Tags
author

Eric Huang eric.huang@atelli.ai

Interfaces, Classes, Traits and Enums

TypeInterface
This is a TypeInterface, all type class must implmenting this interface

Table of Contents

$name  : string
$pattern  : string
__construct()  : mixed
construct
getName()  : string
get name
validate()  : bool
validate

Properties

Methods

__construct()

construct

public __construct(string $pattern[, string $name = 'string' ]) : mixed
Parameters
$pattern : string
$name : string = 'string'
Return values
mixed

validate()

validate

public validate(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

Search results