Represents a literal pattern, one that has no meta-characters.

package Default
inherited_from \BishopB\Pattern\Pattern

 Methods

Create a pattern.

__construct(string $pattern) 
Inherited

Parameters

$pattern

string

The pattern to use.

Exceptions

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