package Default

 Methods

JsonSerializableNormalizer constructor.

__construct(\Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer) 

Parameters

$objectNormalizer

normalize()

normalize(\TgBotApi\BotApiBase\Method\SendInvoiceMethod $topic, null $format = null, array $context = array()) : array | boolean | false | float | integer | string

Parameters

$topic

\TgBotApi\BotApiBase\Method\SendInvoiceMethod

$format

null

$context

Exceptions

\Symfony\Component\Serializer\Exception\ExceptionInterface

Returns

arraybooleanfalsefloatintegerstring

supportsNormalization()

supportsNormalization(mixed $data, null $format = null

Parameters

$data

mixed

$format

null

 Properties

 

$objectNormalizer

$objectNormalizer : \Symfony\Component\Serializer\Normalizer\NormalizerInterface

Default