Spatie\LinkChecker\CheckLinksCommand::getProfile PHP Метод

getProfile() защищенный Метод

Get the profile.
protected getProfile ( ) : Spatie\Crawler\CrawlProfile
Результат Spatie\Crawler\CrawlProfile
    protected function getProfile() : CrawlProfile
    {
        if (!is_null($this->option('profile'))) {
            return app($this->option('profile'));
        }
        if (config('laravel-link-checker.default_profile') != '') {
            return app(config('laravel-link-checker.default_profile'));
        }
        throw new Exception('Could not determine the profile to be used');
    }