Web_Crawler_API/app/Providers/CrawlerServiceProvider.php

36 lines
486 B
PHP
Raw Normal View History

2023-05-30 17:19:53 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class CrawlerServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
public function crawlWebsite($url, $depth) {
$visitedUrls = [];
echo 'HERE!';die;
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
//
}
}