Neos\Fusion\Core\Runtime::__construct PHP Method

__construct() public method

Constructor for the TypoScript Runtime
public __construct ( array $typoScriptConfiguration, ControllerContext $controllerContext )
$typoScriptConfiguration array
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
    public function __construct(array $typoScriptConfiguration, ControllerContext $controllerContext)
    {
        $this->typoScriptConfiguration = $typoScriptConfiguration;
        $this->controllerContext = $controllerContext;
        $this->runtimeContentCache = new RuntimeContentCache($this);
        $this->simpleTypeToArrayClosure = function ($simpleType) {
            return $simpleType === null ? null : ['__eelExpression' => null, '__value' => $simpleType, '__objectType' => null];
        };
    }