public function __construct(UrlGenerator $url = null, Factory $view) { $this->url = $url; $this->view = $view; }
public function __construct(Config $config, View $view, UrlGenerator $url = null) { parent::__construct($url); $this->view = $view; $this->config = $config; }