PHP Класс StackFormation\Preprocessor

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
processJson ( $json, $basePath )

Защищенные методы

Метод Описание
base64encodedJson ( $jsonString ) : mixed
expandPort ( $jsonString )
injectFilecontent ( $jsonString, $basePath )
injectInclude ( $string, $basePath )
parseRefInDoubleQuotedStrings ( $json )
replaceFnGetAttr ( $jsonstring ) : mixed transforms {Fn::GetAtt:[resource,attribute]} to inline statement
replaceMarkers ( $json )
replaceRef ( $jsonString )
split ( $jsonString )
stripComments ( $json )

Описание методов

base64encodedJson() защищенный Метод

protected base64encodedJson ( $jsonString ) : mixed
$jsonString
Результат mixed

expandPort() защищенный Метод

protected expandPort ( $jsonString )

injectFilecontent() защищенный Метод

protected injectFilecontent ( $jsonString, $basePath )

injectInclude() защищенный Метод

protected injectInclude ( $string, $basePath )

parseRefInDoubleQuotedStrings() защищенный Метод

protected parseRefInDoubleQuotedStrings ( $json )

processJson() публичный Метод

public processJson ( $json, $basePath )

replaceFnGetAttr() защищенный Метод

transforms {Fn::GetAtt:[resource,attribute]} to inline statement
protected replaceFnGetAttr ( $jsonstring ) : mixed
$jsonstring
Результат mixed

replaceMarkers() защищенный Метод

protected replaceMarkers ( $json )

replaceRef() защищенный Метод

protected replaceRef ( $jsonString )

split() защищенный Метод

protected split ( $jsonString )

stripComments() защищенный Метод

protected stripComments ( $json )