Class MediaGroupNormalizer.
Methods
MediaGroupNormalizer constructor.
__construct(\TgBotApi\BotApiBase\Normalizer\InputMediaNormalizer $inputMediaNormalizer, \Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer)
Parameters
$inputMediaNormalizer
\TgBotApi\BotApiBase\Normalizer\InputMediaNormalizer
$objectNormalizer
\Symfony\Component\Serializer\Normalizer\NormalizerInterface
normalize()
normalize(mixed $topic, null $format = null
, array $context = array()
) : array | boolean | float | integer | mixed | string
Parameters
$topic
mixed
$format
null
$context
array
Exceptions
\Symfony\Component\Serializer\Exception\ExceptionInterface |
|
Returns
array
boolean
float
integer
mixed
string
supportsNormalization()
supportsNormalization(mixed $data, null $format = null
) : boolean
Parameters
$data
mixed
$format
null
Returns
boolean
Properties
$objectNormalizer
$objectNormalizer : \Symfony\Component\Serializer\Normalizer\NormalizerInterface