You are here

public function Lockr::__construct in Lockr 7

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

Constructs Lockr with a partner.

Parameters

PartnerInterface $partner The partner client.:

File

src/Lockr/Lockr.php, line 31

Class

Lockr
Primary interface for Lockr API calls.

Namespace

Lockr

Code

public function __construct(PartnerInterface $partner) {
  $this->partner = $partner;
}