PHP Class Pipe\Context

Afficher le fichier Open project: chh/pipe

Méthodes publiques

Свойство Type Description
$dependencyAssets
$dependencyPaths
$environment
$path
$requiredPaths

Méthodes publiques

Méthode Description
__construct ( Environment $environment )
contentType ( $path )
dataUri ( $path ) # Returns the Data URI as String.
dependOn ( $path ) # Returns the Context Instance.
evaluate ( $path, $options = [] )
requireAsset ( $path ) # Returns the Context Instance.
requireTree ( $path ) # Returns the Context Instance.
resolve ( $path )

Méthodes protégées

Méthode Description
createSubContext ( )
getExtension ( )

Method Details

__construct() public méthode

public __construct ( Environment $environment )
$environment Environment

contentType() public méthode

public contentType ( $path )

createSubContext() protected méthode

protected createSubContext ( )

dataUri() public méthode

# Returns the Data URI as String.
public dataUri ( $path )

dependOn() public méthode

# Returns the Context Instance.
public dependOn ( $path )

evaluate() public méthode

public evaluate ( $path, $options = [] )

getExtension() protected méthode

protected getExtension ( )

requireAsset() public méthode

# Returns the Context Instance.
public requireAsset ( $path )

requireTree() public méthode

# Returns the Context Instance.
public requireTree ( $path )

resolve() public méthode

public resolve ( $path )

Property Details

$dependencyAssets public_oe property

public $dependencyAssets

$dependencyPaths public_oe property

public $dependencyPaths

$environment public_oe property

public $environment

$path public_oe property

public $path

$requiredPaths public_oe property

public $requiredPaths