35 lines
723 B
YAML
35 lines
723 B
YAML
name: JsonEncode
|
|
class_comment: '# * Encodes JSON data.
|
|
|
|
# *
|
|
|
|
# * @author Sander Coolen <sander@jibber.nl>'
|
|
dependencies:
|
|
- name: NotEncodableValueException
|
|
type: class
|
|
source: Symfony\Component\Serializer\Exception\NotEncodableValueException
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: defaultContext
|
|
default: '[]'
|
|
comment: null
|
|
- name: encode
|
|
visibility: public
|
|
parameters:
|
|
- name: data
|
|
- name: format
|
|
- name: context
|
|
default: '[]'
|
|
comment: null
|
|
- name: supportsEncoding
|
|
visibility: public
|
|
parameters:
|
|
- name: format
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Serializer\Exception\NotEncodableValueException
|
|
interfaces:
|
|
- EncoderInterface
|