PHP Class StackFormation\PrefixedTemplate

Inheritance: extends Template
Show file Open project: aoepeople/stackformation

Protected Properties

Property Type Description
$prefix
$pseudoParameters array presudo parameters which should not be prefixed

Public Methods

Method Description
__construct ( string $prefix, string $filePath, Preprocessor $preprocessor = null ) PrefixedTemplate constructor.
getDecodedJson ( )
getProcessedTemplate ( )

Protected Methods

Method Description
updateDependsOn ( $prefix, $template ) : mixed
updateDependsOnMultiple ( $prefix, $template ) : mixed
updateFnFindInMap ( $prefix, $template ) : mixed
updateFnGetAtt ( $prefix, $template ) : mixed
updateRef ( $prefix, $template ) : mixed

Method Details

__construct() public method

PrefixedTemplate constructor.
public __construct ( string $prefix, string $filePath, Preprocessor $preprocessor = null )
$prefix string
$filePath string
$preprocessor Preprocessor

getDecodedJson() public method

public getDecodedJson ( )

getProcessedTemplate() public method

updateDependsOn() protected method

protected updateDependsOn ( $prefix, $template ) : mixed
$prefix
$template
return mixed

updateDependsOnMultiple() protected method

protected updateDependsOnMultiple ( $prefix, $template ) : mixed
$prefix
$template
return mixed

updateFnFindInMap() protected method

protected updateFnFindInMap ( $prefix, $template ) : mixed
$prefix
$template
return mixed

updateFnGetAtt() protected method

protected updateFnGetAtt ( $prefix, $template ) : mixed
$prefix
$template
return mixed

updateRef() protected method

protected updateRef ( $prefix, $template ) : mixed
$prefix
$template
return mixed

Property Details

$prefix protected property

protected $prefix

$pseudoParameters protected property

presudo parameters which should not be prefixed
protected array $pseudoParameters
return array