/** * ViewCustomConfigTest constructor. */ public function __construct() { View::setDirConfig(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config/config.example.php'); $this->view = new View(); $this->view->loadTwigEnvironment(); View::setInstance($this->view); }