Class MediaGroupNormalizer.

package Default

 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

arraybooleanfloatintegermixedstring

supportsNormalization()

supportsNormalization(mixed $data, null $format = null) : boolean

Parameters

$data

mixed

$format

null

Returns

boolean

 Properties

 

$inputMediaNormalizer

$inputMediaNormalizer : \TgBotApi\BotApiBase\Normalizer\InputMediaNormalizer

Default

 

$objectNormalizer

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

Default