| 1 | <?php |
||
| 24 | class Poll extends Entity |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | protected function subEntities() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * List of poll options |
||
| 38 | * |
||
| 39 | * This method overrides the default getOptions method |
||
| 40 | * and returns a nice array of PollOption objects. |
||
| 41 | * |
||
| 42 | * @return null|PollOption[] |
||
| 43 | */ |
||
| 44 | public function getOptions() |
||
| 50 | } |
||
| 51 |