| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Builder implements BuilderInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * |
||
| 26 | * The class to use for new instances. |
||
| 27 | * |
||
| 28 | * @var class-string<LazyInterface> |
||
|
|
|||
| 29 | * |
||
| 30 | */ |
||
| 31 | protected $class = 'Aura\Marshal\Lazy\GenericLazy'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * |
||
| 35 | * Creates a new Lazy object. |
||
| 36 | * |
||
| 37 | * @param RelationInterface $relation The relationship object between the |
||
| 38 | * native and foreign types. |
||
| 39 | * |
||
| 40 | * @return LazyInterface |
||
| 41 | * |
||
| 42 | */ |
||
| 43 | public function newInstance(RelationInterface $relation) |
||
| 49 |