Свойство | Type | Description | |
---|---|---|---|
$baseUrl | string | BaseUrl | |
$client | object | Instance of Guzzle Client |
Méthode | Description | |
---|---|---|
__construct ( ) | Initialize the Controller with necessary arguments | |
getPage ( ) : array | Return all the data to the New York times API dashboard | |
getRelativeUrl ( ) : string | Get relative url |
Méthode | Description | |
---|---|---|
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 New York times API |
public __construct ( ) |