Skip to content

Commit

Permalink
Add getter for developer token
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Radt committed Jan 18, 2019
1 parent df22b1d commit 6c1440e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/APIClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ public function setDeveloperToken(string $developerToken)
$this->developerToken = $developerToken;
}

/**
* @return string
*/
public function getDeveloperToken()
{
return $this->developerToken;
}

/**
* @param string $musicUserToken
*/
Expand Down
8 changes: 8 additions & 0 deletions src/AppleMusicAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ public function setDeveloperToken($developerToken)
$this->client->setDeveloperToken($developerToken);
}

/**
* @return string
*/
public function getDeveloperToken()
{
return $this->client->getDeveloperToken();
}

/**
* @param string $musicUserToken
*/
Expand Down

0 comments on commit 6c1440e

Please sign in to comment.