public function Lockr::__construct in Lockr 7
Same name and namespace in other branches
- 7.3 vendor/lockr/lockr/src/Lockr.php \Lockr\Lockr::__construct()
- 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
LockrCode
public function __construct(PartnerInterface $partner) {
$this->partner = $partner;
}