public function TestNormalizer::normalize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Normalizer/TestNormalizer.php \Symfony\Component\Serializer\Tests\Normalizer\TestNormalizer::normalize()
Normalizes an object into a set of arrays/scalars.
Parameters
object $object object to normalize:
string $format format the normalization result will be encoded as:
array $context Context options for the normalizer:
Return value
array|string|bool|int|float|null
Overrides NormalizerInterface::normalize
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ TestNormalizer.php, line 26
Class
- TestNormalizer
- Provides a test Normalizer which only implements the NormalizerInterface.
Namespace
Symfony\Component\Serializer\Tests\NormalizerCode
public function normalize($object, $format = null, array $context = array()) {
}