| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function __construct( |
||
| 21 | $items, |
||
| 22 | $total, |
||
| 23 | $perPage, |
||
| 24 | $currentPage = null, |
||
| 25 | array $options = [] |
||
| 26 | ) { |
||
| 27 | parent::__construct($items, $total, $perPage, $currentPage, $options); |
||
| 28 | |||
| 29 | if (isset($options['path'])) { |
||
| 30 | $this->path = Helper::appendSlashes( |
||
| 31 | $this->path, |
||
| 32 | $options['path'] |
||
| 33 | ); |
||
| 37 |