public function partial($view)
    {
        $path = '../App/' . $this->viewsDir . $view . '.phtml';
        if (file_exists($path)) {
            require $path;

        } else {
            die('No partial view file ' . $view . ' present in view directory.');
        }
    }