eZ\Publish\Core\REST\Common\RequestParser\Pattern::addPattern PHP Метод

addPattern() публичный Метод

Adds a pattern for a type.
public addPattern ( string $type, string $pattern )
$type string
$pattern string
    public function addPattern($type, $pattern)
    {
        $this->map[$type] = $pattern;
        unset($this->compileCache[$type]);
    }