class LocationService

Constants

CACHE_KEY_PREFIX

Methods

__construct(LocationRepository $locationRepository, EntityManagerInterface $entityManager, CacheInterface $cache, HtmlSanitizerInterface $htmlSanitizer)

No description

array
findAll(LocationType|null $type)

No description

findOne(string $pid)

No description

create(CreateLocationDto $dto)

No description

update(string $pid, UpdateLocationDto $dto)

No description

void
delete(string $pid)

No description

Details

at line 21
__construct(LocationRepository $locationRepository, EntityManagerInterface $entityManager, CacheInterface $cache, HtmlSanitizerInterface $htmlSanitizer)

No description

Parameters

LocationRepository $locationRepository
EntityManagerInterface $entityManager
CacheInterface $cache
HtmlSanitizerInterface $htmlSanitizer

at line 32
array findAll(LocationType|null $type)

No description

Parameters

LocationType|null $type

Return Value

array

at line 37
Location findOne(string $pid)

No description

Parameters

string $pid

Return Value

Location

at line 42
Location create(CreateLocationDto $dto)

No description

Parameters

CreateLocationDto $dto

Return Value

Location

at line 61
Location update(string $pid, UpdateLocationDto $dto)

No description

Parameters

string $pid
UpdateLocationDto $dto

Return Value

Location

at line 101
void delete(string $pid)

No description

Parameters

string $pid

Return Value

void