class SubjectAreaService

Flattens the BBC core ProfessionApi to a simple list of subject areas.

The core API has no dedicated SubjectAreaApi — subject areas live nested under professions. Result is cached because the upstream list barely changes.

Constants

CACHE_KEY

private CACHE_TTL_SECONDS

Methods

__construct(ExtranetApiClientFactory $apiClientFactory, CacheInterface $cache)

No description

array
listAll()

No description

Details

at line 25
__construct(ExtranetApiClientFactory $apiClientFactory, CacheInterface $cache)

No description

Parameters

ExtranetApiClientFactory $apiClientFactory
CacheInterface $cache

at line 34
array listAll()

No description

Return Value

array