| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 91 | public function getDestName() |
||
| 92 | { |
||
| 93 | if (!$this->destName) { |
||
| 94 | throw new \RuntimeException(sprintf( |
||
| 95 | 'No destName set in copy/move event when copying/moving document "%s" to "%s". ' . |
||
| 96 | 'This should have been set by a listener', |
||
| 97 | spl_object_hash($this->document), |
||
| 98 | $this->destId |
||
| 99 | )); |
||
| 100 | } |
||
| 101 | |||
| 102 | return $this->destName; |
||
| 103 | } |
||
| 104 | } |
||
| 105 |