FusionService
class FusionService (View source)
Properties
protected string deprecated | $siteRootFusionPattern | Pattern used for determining the Fusion root file for a site |
|
protected array deprecated | $prependFusionIncludes | Array of Fusion files to include before the site Fusion |
|
protected array deprecated | $appendFusionIncludes | Array of Fusion files to include after the site Fusion |
|
protected SiteRepository | $siteRepository | ||
protected Parser | $fusionParser | ||
protected RuntimeFactory | $runtimeFactory | ||
protected FusionSourceCodeFactory | $fusionSourceCodeFactory | ||
protected FusionConfigurationCache | $fusionConfigurationCache |
Methods
Returns a merged Fusion object tree in the context of the given nodes
Create a runtime for the given site node
Set the pattern for including the site root Fusion
Get the Fusion resources that are included before the site Fusion.
Set Fusion resources that should be prepended before the site Fusion, it defaults to the Neos Root.fusion Fusion.
Get Fusion resources that will be appended after the site Fusion.
Set Fusion resources that should be appended after the site Fusion, this defaults to an empty array.
Details
FusionConfiguration
createFusionConfigurationFromSite(Site $site)
No description
array
getMergedFusionObjectTree(TraversableNodeInterface $startNode)
deprecated
deprecated
Returns a merged Fusion object tree in the context of the given nodes
Runtime
createRuntime(TraversableNodeInterface $currentSiteNode, ControllerContext $controllerContext)
deprecated
deprecated
Create a runtime for the given site node
void
setSiteRootFusionPattern(string $siteRootFusionPattern)
deprecated
deprecated
Set the pattern for including the site root Fusion
array
getPrependFusionIncludes()
deprecated
deprecated
Get the Fusion resources that are included before the site Fusion.
void
setPrependFusionIncludes(array $prependFusionIncludes)
deprecated
deprecated
Set Fusion resources that should be prepended before the site Fusion, it defaults to the Neos Root.fusion Fusion.
array
getAppendFusionIncludes()
deprecated
deprecated
Get Fusion resources that will be appended after the site Fusion.
void
setAppendFusionIncludes(array $appendFusionIncludes)
deprecated
deprecated
Set Fusion resources that should be appended after the site Fusion, this defaults to an empty array.