| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 64 | public function __toString() | ||
| 65 |     { | ||
| 66 |         return \sprintf("Lock %s for task %s taken by %s at %s with timeout %s expires at %s.", | ||
| 67 | $this->get_lock_id(), | ||
| 68 | $this->get_task_name(), | ||
| 69 | $this->get_lock_holder(), | ||
| 70 | $this->get_locked_at()->format(self::DATE_FORMAT), | ||
| 71 | $this->get_timeout(), | ||
| 72 | $this->get_expires()->format(self::DATE_FORMAT) | ||
| 73 | ); | ||
| 74 | } | ||
| 75 | |||
| 107 |