| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class StateCityController extends Controller |
||
| 10 | { |
||
| 11 | private $stateRepo; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * StateCityController constructor. |
||
| 15 | * |
||
| 16 | * @param StateRepositoryInterface $stateRepository |
||
| 17 | */ |
||
| 18 | public function __construct(StateRepositoryInterface $stateRepository) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $state_code |
||
| 25 | * |
||
| 26 | * @return \Illuminate\Http\JsonResponse |
||
| 27 | */ |
||
| 28 | public function index($state_code) |
||
| 36 | } |
||
| 37 | } |