| 1 | <?php |
||
| 14 | class EcProfileSerializer extends SerializerAbstract { |
||
| 15 | protected $type = 'ec_profiles'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Nothing special here. |
||
| 19 | */ |
||
| 20 | protected function attributes($ec_profile) { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Provides the id. |
||
| 26 | */ |
||
| 27 | protected function id($ec_profile) { |
||
| 30 | /** |
||
| 31 | * For backwards compatibility... do the same thing. |
||
| 32 | */ |
||
| 33 | protected function getId($ec_profile) { |
||
| 36 | |||
| 37 | } |
||
| 38 |