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