__construct() __construct(\Iqrf\Repository\Enums\ITrSeries $series, string $imageUrl) : mixed Constructor Parameters \Iqrf\Repository\Enums\ITrSeries $series TR series string $imageUrl Image URL Returns mixed —
fromApiResponse() fromApiResponse(array{seriesMIcode: int, mcuMIcode: int, seriesImage: string} $response) : self Creates a new TrSeries entity from API response Parameters array{seriesMIcode: int, mcuMIcode: int, seriesImage: string} $response API response body Returns self —
jsonSerialize() jsonSerialize() : array{value: int, name: string, imageUrl: string} Serializes the TrSeries entity into JSON Returns array{value: int, name: string, imageUrl: string} — JSON serialized TrSeries entity