PHP Class App\Http\Controllers\WebScrapingController

Inheritance: extends Controller
Show file Open project: unicodeveloper/laravel-hackathon-starter

Protected Properties

Property Type Description
$crawler

Public Methods

Method Description
__construct ( ) Initialize controller
getData ( $siteToCrawl ) : array Scrape the Links
getPage ( ) : mixed Return all data to the Stripe API dashboard

Method Details

__construct() public method

Initialize controller
public __construct ( )

getData() public method

Scrape the Links
public getData ( $siteToCrawl ) : array
$siteToCrawl
return array

getPage() public method

Return all data to the Stripe API dashboard
public getPage ( ) : mixed
return mixed

Property Details

$crawler protected property

protected $crawler