name = $name; $this->expiration = $expiration; $this->owner = $owner; } /** * Get the lock name. * * @return string */ public function name(): string { return $this->name; } /** * Get the lock expiration in seconds. * * @return int */ public function expiration(): int { return $this->expiration; } /** * Get the lock owner. * * @return string */ public function owner(): string { return $this->owner; } }