| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | 16 | public function __construct(Builder $builder, $request) |
|
| 27 | { |
||
| 28 | 16 | parent::__construct($builder->getQuery()); |
|
| 29 | 16 | $this->setModel($builder->getModel())->setEagerLoads($builder->getEagerLoads()); |
|
| 30 | 16 | $this->scopes = $builder->scopes; |
|
| 31 | 16 | $this->localMacros = $builder->localMacros; |
|
| 32 | 16 | $this->onDelete = $builder->onDelete; |
|
| 33 | 16 | $this->request = $request; |
|
| 34 | 16 | } |
|
| 51 |