| 1 | <?php |
||
| 8 | class LanguageScriptSerializer extends AbstractSerializer { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @param mixed $model |
||
| 12 | * @param array $fields |
||
| 13 | */ |
||
| 14 | public function getAttributes($model, array $fields = null) { |
||
| 24 | |||
| 25 | /** |
||
| 26 | */ |
||
| 27 | public function getFields() { |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed $model |
||
| 33 | */ |
||
| 34 | public function getId($model) { |
||
| 37 | |||
| 38 | /** |
||
| 39 | */ |
||
| 40 | public function getSortFields() { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param mixed $model |
||
| 46 | */ |
||
| 47 | public function getType($model) { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param mixed $model |
||
| 53 | * @param mixed $data |
||
| 54 | */ |
||
| 55 | public function hydrate($model, $data) { |
||
| 59 | } |
||
| 60 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.