CustomerResource

Namespace

IO\Api\Resources

Extends
Properties
Type Name Description

CustomerService

$customerService

Methods
public __construct($request, $response, $customerService)

CustomerResource constructor.

Parameters

Type

Name

Description

Request

$request

ApiResponse

$response

CustomerService

$customerService

public index(): Response

Get the contact

public store(): Response

Save the contact