class LocationController extends AbstractController

Methods

__construct(LocationService $locationService, CacheInterface $cache)

No description

list(LocationQueryDto|null $query = null)

No description

show(string $pid)

No description

create(CreateLocationDto $dto)

No description

update(string $pid, UpdateLocationDto $dto)

No description

delete(string $pid)

No description

Details

at line 27
__construct(LocationService $locationService, CacheInterface $cache)

No description

Parameters

LocationService $locationService
CacheInterface $cache

at line 33
ApiResponse list(LocationQueryDto|null $query = null)

No description

Parameters

LocationQueryDto|null $query

Return Value

ApiResponse

at line 66
ApiResponse show(string $pid)

No description

Parameters

string $pid

Return Value

ApiResponse

at line 89
ApiResponse create(CreateLocationDto $dto)

No description

Parameters

CreateLocationDto $dto

Return Value

ApiResponse

at line 116
ApiResponse update(string $pid, UpdateLocationDto $dto)

No description

Parameters

string $pid
UpdateLocationDto $dto

Return Value

ApiResponse

at line 146
ApiResponse delete(string $pid)

No description

Parameters

string $pid

Return Value

ApiResponse