| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class DictionaryResponse extends ApiResponseAbstract |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var DictionaryEntry[] |
||
| 17 | */ |
||
| 18 | protected $data; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param DictionaryEntry $entry |
||
| 22 | * |
||
| 23 | * @return DictionaryResponse |
||
| 24 | */ |
||
| 25 | public function addEntry(DictionaryEntry $entry): DictionaryResponse |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Returns an array of saved entries |
||
| 34 | * |
||
| 35 | * @return DictionaryEntry[] |
||
| 36 | */ |
||
| 37 | public function getEntries() |
||
| 42 |