Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| CountryCodeController | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| index | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Qmp\Laravel\Company\Controllers; |
| 4 | |
| 5 | use Illuminate\Database\Eloquent\Collection; |
| 6 | use Illuminate\Http\JsonResponse; |
| 7 | use Illuminate\Http\Response; |
| 8 | use Illuminate\Http\Request; |
| 9 | use Illuminate\Support\Facades\Log; |
| 10 | use Qmp\Laravel\MicroService\Controllers\AbstractMicroServiceController; |
| 11 | use Illuminate\Validation\Rule; |
| 12 | use Exception; |
| 13 | |
| 14 | use Qmp\Laravel\Company\Models\Company; |
| 15 | |
| 16 | class CountryCodeController extends AbstractMicroServiceController |
| 17 | { |
| 18 | /** |
| 19 | * Display a listing of the resource. |
| 20 | * |
| 21 | * @return array |
| 22 | */ |
| 23 | public function index(): array |
| 24 | { |
| 25 | return include(realpath(dirname(__FILE__) . '/../Models/CountryCodeList.php')); |
| 26 | } |
| 27 | } |