public function __construct(Repository $config, Factory $view, HtmlBuilder $html, UrlGenerator $url, FormBuilder $form) { $this->config = $config; $this->view = $view; $this->html = $html; $this->url = $url; $this->collection = new Collection(); $this->form = $form; }