Represents a generic pattern and acts as a base class for all patterns in this library.

abstract
package Default

 Methods

Create a pattern.

__construct(string $pattern) 

Parameters

$pattern

string

The pattern to use.

Exceptions

\BishopB\Pattern\Exception\InvalidArgument if not given a string