BingNewsSearch extends Command
Table of Contents
- SOURCE = "news_result"
- $description : string
- The console command description.
- $signature : string
- The name and signature of the console command.
- handle() : int
- Execute the console command.
- searchInBing() : mixed
Constants
SOURCE
private
mixed
SOURCE
= "news_result"
Properties
$description
The console command description.
protected
string
$description
= 'Retrieve the data from news portals using Bing search engine.'
$signature
The name and signature of the console command.
protected
string
$signature
= 'rc:bingnewssearch'
Methods
handle()
Execute the console command.
public
handle() : int
Return values
int —searchInBing()
private
searchInBing(mixed $term[, mixed $language = false ]) : mixed
Parameters
- $term : mixed
- $language : mixed = false