public function with($template, $data = array()) { $View = new View($this->Directory); $View->passData($data); return $View->render($template); }