| 1 | <?php |
||
| 5 | class BelongsTo extends \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Set the base constraints on the relation query. |
||
| 9 | * |
||
| 10 | * @return void |
||
| 11 | */ |
||
| 12 | public function addConstraints() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Set the constraints for an eager load of the relation. |
||
| 24 | * |
||
| 25 | * @param array $models |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function addEagerConstraints(array $models) |
||
| 38 | } |
||
| 39 |