private function createContentWithLayout($layout, $fragment)
    {
        // Create and append $fragment variable to the shared view stack
        $this->variables[self::TEMPLATE_PARAM_FRAGMENT_VAR_NAME] = $this->createFileContent($fragment);

        return $this->createFileContent($layout);
    }
private function createContentWithLayout($layout, $fragment)
    {
        // Create and append $fragment variable to the shared view stack
        $this->variables[self::TEMPLATE_PARAM_FRAGMENT_VAR_NAME] = $this->createFileContent($fragment);

        return $this->createFileContent($layout);
    }
private function createContentWithLayout ( $ layout , $ fragment ) { // Create and append $fragment variable to the shared view stack $ this -> variables [ self :: TEMPLATE_PARAM_FRAGMENT_VAR_NAME ] = $ this -> createFileContent ( $ fragment ) ; return $ this -> createFileContent ( $ layout ) ; }
Returns content of glued layout and its fragment

@param string $layout Path to a layout
@param string $fragment Path to a fragment
@return string
Returns content of glued layout and its fragment