public function __construct(Slim $app = null) { $this->setApp($app, array('templates.path' => '../view')); $this->setEloquent(); return $this; }