| @@ 154-160 (lines=7) @@ | ||
| 151 | /** |
|
| 152 | * @inheritdoc |
|
| 153 | */ |
|
| 154 | public function encodeData($data, EncodingParametersInterface $parameters = null) |
|
| 155 | { |
|
| 156 | $array = $this->encodeDataToArray($this->getContainer(), $data, $parameters); |
|
| 157 | $result = $this->encodeToJson($array); |
|
| 158 | ||
| 159 | return $result; |
|
| 160 | } |
|
| 161 | ||
| 162 | /** |
|
| 163 | * @inheritdoc |
|
| @@ 165-171 (lines=7) @@ | ||
| 162 | /** |
|
| 163 | * @inheritdoc |
|
| 164 | */ |
|
| 165 | public function encodeIdentifiers($data, EncodingParametersInterface $parameters = null) |
|
| 166 | { |
|
| 167 | $array = $this->encodeIdentifiersToArray($data, $parameters); |
|
| 168 | $result = $this->encodeToJson($array); |
|
| 169 | ||
| 170 | return $result; |
|
| 171 | } |
|
| 172 | ||
| 173 | /** |
|
| 174 | * @inheritdoc |
|