public function GetOutput() {
        $numberOfVarsExtracted = extract($this->variablesList);
        if (count($this->variablesList) !== $numberOfVarsExtracted) {
            $errMsg = "Number of variables extracted different from the $vars array";
            throw new \Exception($errMsg, Codes\LogicErrors::UNEXPECTED_VALUE, null);
        }
        ob_start();
        include_once $this->contentFile;
        $content = ob_get_clean();
        ob_start();
        include_once "APP_ROOT_DIR" . \Puzzlout\Framework\Enums\FrameworkFolderName::ViewsFolderName . \Puzzlout\Framework\Enums\FileNameConst::LayoutTemplate;
        return ob_get_clean();
    }