Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class CountryStateController extends Controller |
||
10 | { |
||
11 | private $countryRepo; |
||
12 | |||
13 | /** |
||
14 | * CountryStateController constructor. |
||
15 | * |
||
16 | * @param CountryRepositoryInterface $countryRepository |
||
17 | */ |
||
18 | public function __construct(CountryRepositoryInterface $countryRepository) |
||
19 | { |
||
20 | $this->countryRepo = $countryRepository; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param $countryId |
||
25 | * |
||
26 | * @return \Illuminate\Http\JsonResponse |
||
27 | */ |
||
28 | public function index($countryId) |
||
36 | } |
||
37 | } |