PHP Class Pipe\Context

Mostra file Open project: chh/pipe

Public Properties

Property Type Description
$dependencyAssets
$dependencyPaths
$environment
$path
$requiredPaths

Public Methods

Method 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 )

Protected Methods

Method Description
createSubContext ( )
getExtension ( )

Method Details

__construct() public method

public __construct ( Environment $environment )
$environment Environment

contentType() public method

public contentType ( $path )

createSubContext() protected method

protected createSubContext ( )

dataUri() public method

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

dependOn() public method

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

evaluate() public method

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

getExtension() protected method

protected getExtension ( )

requireAsset() public method

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

requireTree() public method

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

resolve() public method

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