protected function getReporter() : CrawlObserver
{
if (!is_null($this->option('reporter'))) {
return app($this->option('reporter'));
}
if (config('laravel-link-checker.default_reporter') != '') {
return app(config('laravel-link-checker.default_reporter'));
}
throw new Exception('Could not reporter the profile to be used');
}