Documentation

SeniorPlaces extends Command Uses CrawlerTools

Table of Contents

DIRECTORY  = "Seniorplace"
SOURCE  = "review_senior_place"
$description  : string
The console command description.
$signature  : string
The name and signature of the console command.
get()  : array<string|int, mixed>
Send a GET request using Curl
handle()  : int
Execute the console command.
searchAll()  : mixed
searchFirst()  : mixed
collect24hpflegecheck()  : mixed
collectPflegehilfe()  : mixed
collectSeniorPlace()  : mixed

Constants

Properties

$description

The console command description.

protected string $description = 'Retrieve the data from the senior places urls.'

$signature

The name and signature of the console command.

protected string $signature = 'rc:seniorplaces'

Methods

get()

Send a GET request using Curl

public get(string $url) : array<string|int, mixed>
Parameters
$url : string
Return values
array<string|int, mixed>

handle()

Execute the console command.

public handle() : int
Return values
int

searchAll()

public searchAll(DOMXPath $xpath, string $item) : mixed
Parameters
$xpath : DOMXPath
$item : string
Return values
mixed

searchFirst()

public searchFirst(DOMXPath $xpath, string $item) : mixed
Parameters
$xpath : DOMXPath
$item : string
Return values
mixed

collect24hpflegecheck()

private collect24hpflegecheck(string $url, User $user) : mixed
Parameters
$url : string
$user : User
Return values
mixed

collectPflegehilfe()

private collectPflegehilfe(string $url, User $user) : mixed
Parameters
$url : string
$user : User
Return values
mixed

collectSeniorPlace()

private collectSeniorPlace(string $url, User $user) : mixed
Parameters
$url : string
$user : User
Return values
mixed

Search results