public function __construct(Permission $model, Dispatcher $event, Repository $config) { $this->event = $event; $this->model = $model; $this->config = $config; }