PHP Класс app\http\controllers\YahooController

Наследование: extends Controller
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$baseUrl string BaseUrl
$client object Instance of Guzzle Client

Открытые методы

Метод Описание
__construct ( ) Initialize the Controller with necessary arguments
getPage ( ) : mixed Return all data to the Yahoo API dashboard

Приватные методы

Метод Описание
getData ( ) : array Get the data response from a get operation
getResponse ( ) : array Get the whole response from a get operation
setGetResponse ( string $relativeUrl ) Get the response from Yahoo API

Описание методов

__construct() публичный метод

Initialize the Controller with necessary arguments
public __construct ( )

getPage() публичный метод

Return all data to the Yahoo API dashboard
public getPage ( ) : mixed
Результат mixed

Описание свойств

$baseUrl защищенное свойство

BaseUrl
protected string $baseUrl
Результат string

$client защищенное свойство

Instance of Guzzle Client
protected object $client
Результат object