PHP Class Jackalope\Validation\Path\AbstractRegexValidator

Inheritance: implements Jackalope\Validation\PathValidatorInterface
Show file Open project: jackalope/jackalope

Public Methods

Method Description
validateAbsPath ( $path ) {@inheritDoc}
validateDestPath ( $path ) {@inheritDoc}
validateName ( $path ) {@inheritDoc}
validatePath ( $path ) {@inheritDoc}

Protected Methods

Method Description
getNamePattern ( ) : string Return a regular expression for a valid name
getPathPattern ( ) : string Return a regular expression for a valid path

Private Methods

Method Description
validate ( $path, $pattern ) {@inheritDoc}

Method Details

getNamePattern() abstract protected method

Return a regular expression for a valid name
abstract protected getNamePattern ( ) : string
return string

getPathPattern() abstract protected method

Return a regular expression for a valid path
abstract protected getPathPattern ( ) : string
return string

validateAbsPath() public method

{@inheritDoc}
public validateAbsPath ( $path )

validateDestPath() public method

{@inheritDoc}
public validateDestPath ( $path )

validateName() public method

{@inheritDoc}
public validateName ( $path )

validatePath() public method

{@inheritDoc}
public validatePath ( $path )