SubjectAreaService
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
array
listAll()
No description
Details
at line 25
__construct(ExtranetApiClientFactory $apiClientFactory, CacheInterface $cache)
No description
at line 34
array
listAll()
No description