App\Http\Controllers\NytController::getPage PHP Метод

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

Return all the data to the New York times API dashboard
public getPage ( ) : array
Результат array
    public function getPage()
    {
        $data = $this->getData();
        return view('api.nyt')->withData($data);
    }