| 1 | <?php |
||
| 23 | class DictionaryBaseItem |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var |
||
| 27 | */ |
||
| 28 | protected $text; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var |
||
| 32 | */ |
||
| 33 | protected $partOfSpeech; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * |
||
| 37 | */ |
||
| 38 | 2 | public function __construct($item) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | 2 | public function __toString() |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | 2 | public function getText() |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | 2 | public function getPartOfSpeech() |
|
| 72 | } |
||
| 73 |