| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class ContactController extends Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ContactService |
||
| 13 | */ |
||
| 14 | private ContactService $contactService; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * ContactController constructor. |
||
| 18 | * |
||
| 19 | * @param ContactService $contactService |
||
| 20 | */ |
||
| 21 | public function __construct(ContactService $contactService) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Creates a query for the given user. |
||
| 28 | * |
||
| 29 | * @param ContactCreateRequest $request |
||
| 30 | * |
||
| 31 | * @return \Illuminate\Http\JsonResponse |
||
| 32 | */ |
||
| 33 | public function contact(ContactCreateRequest $request) |
||
| 39 |