You are here

public function Lockr::__construct in Lockr 7.3

Same name and namespace in other branches
  1. 7 src/Lockr/Lockr.php \Lockr\Lockr::__construct()
  2. 7.2 vendor/lockr/lockr-client/src/Lockr.php \Lockr\Lockr::__construct()

Parameters

LoaderInterface $loader:

File

vendor/lockr/lockr/src/Lockr.php, line 25

Class

Lockr

Namespace

Lockr

Code

public function __construct(LockrClient $client, SecretInfoInterface $secret_info, $accounts_host = 'accounts.lockr.io') {
  $this->client = $client;
  $this->info = $secret_info;
  $this->accountsHost = $accounts_host;
}