public function Lockr::__construct in Lockr 7.2
Same name and namespace in other branches
- 7.3 vendor/lockr/lockr/src/Lockr.php \Lockr\Lockr::__construct()
- 7 src/Lockr/Lockr.php \Lockr\Lockr::__construct()
Constructs Lockr with a partner.
Parameters
PartnerInterface $partner The partner client.:
File
- vendor/
lockr/ lockr-client/ src/ Lockr.php, line 35
Class
- Lockr
- Primary interface for Lockr API calls.
Namespace
LockrCode
public function __construct(PartnerInterface $partner) {
$this->partner = $partner;
}