| Conditions | 6 |
| Paths | 24 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 54 | public function __clone() |
||
| 55 | { |
||
| 56 | foreach ($this->from as $key => $from) { |
||
| 57 | $this->from[$key] = clone $from; |
||
| 58 | } |
||
| 59 | |||
| 60 | foreach ($this->join as $fromAlias => $joins) { |
||
| 61 | foreach ($joins as $key => $join) { |
||
| 62 | $this->join[$fromAlias][$key] = clone $join; |
||
| 63 | } |
||
| 64 | } |
||
| 65 | |||
| 66 | if ($this->where !== null) { |
||
| 67 | $this->where = clone $this->where; |
||
| 68 | } |
||
| 69 | |||
| 70 | if ($this->having !== null) { |
||
| 71 | $this->having = clone $this->having; |
||
| 72 | } |
||
| 75 |