Skip to content

Commit

Permalink
Added helper method for base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
NateShoffner committed Jan 13, 2022
1 parent accf05b commit 9826cfb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/JikanPHPClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ public function __construct(Client $guzzle = null, $baseUrl = Constants::BASE_UR
$this->baseUrl = $baseUrl;
}

/**
* @return string
*/
public function getBaseUrl() : string
{
return $this->baseUrl;
}

/**
* @param Request\Anime\AnimeRequest $request
*
Expand Down

0 comments on commit 9826cfb

Please sign in to comment.