public function 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|scalar

Overrides NormalizerInterface::normalize

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php, line 26

Class

TestNormalizer
Provides a test Normalizer which only implements the NormalizerInterface.

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

public function normalize($object, $format = null, array $context = array()) {
}