Skip to content

Commit

Permalink
[MINOR] Deprecated ClientInterface::setToken and ClientInterface::get…
Browse files Browse the repository at this point in the history
…Connection
  • Loading branch information
core23 committed Mar 30, 2019
1 parent 9a9b752 commit 3ece8e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Client/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ interface ClientInterface
* Set Matomo API token.
*
* @param string $token auth token
*
* @deprecated use constructor to set client token
*/
public function setToken(string $token);

Expand All @@ -40,6 +42,8 @@ public function call(string $method, array $params = [], $format = 'php');
* Return active connection.
*
* @return ConnectionInterface
*
* @deprecated without any replacement
*/
public function getConnection(): ConnectionInterface;
}

0 comments on commit 3ece8e1

Please sign in to comment.