| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ClientAddressRepository extends BaseRepository |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $model; |
||
| 12 | |||
| 13 | public function __construct(ClientAddress $model) |
||
| 16 | } |
||
| 17 | |||
| 18 | public function selectAllByClientId($clientId) |
||
| 19 | { |
||
| 20 | return $this->model->where('client_id', '=', $clientId)->get(); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function selectOneByClientIdAndId($clientId, $id) |
||
| 26 | } |
||
| 27 | } |