App\Http\Controllers\NytController::getRelativeUrl PHP 메소드

getRelativeUrl() 공개 메소드

Get relative url
public getRelativeUrl ( ) : string
리턴 string
    public function getRelativeUrl()
    {
        return str_replace('{apiKey}', env('NYT_BOOKS_API_KEY'), self::RELATIVE_URL);
    }