public function __construct($viewPath) { $this->binders = new ModelBinderRegistry(); $this->binders->addBinder('Tmont\\Facilius\\Models\\UploadedFile', new UploadedFileModelBinder()); $this->response = new Response(); $this->viewPath = $viewPath; }