PHP Class Puli\Repository\AbstractRepository

Since: 1.0
Author: Bernhard Schussek ([email protected])
Author: Titouan Galopin ([email protected])
Inheritance: implements Puli\Repository\Api\ResourceRepository
Show file Open project: puli/repository Class Usage Examples

Public Methods

Method Description
getVersions ( $path )

Protected Methods

Method Description
failUnlessGlob ( string $language ) Validate a language is usable to search in repositories.
sanitizePath ( string $path ) : string Sanitize a given path and check its validity.

Method Details

failUnlessGlob() protected method

Validate a language is usable to search in repositories.
protected failUnlessGlob ( string $language )
$language string

getVersions() public method

public getVersions ( $path )

sanitizePath() protected method

Sanitize a given path and check its validity.
protected sanitizePath ( string $path ) : string
$path string
return string