protected function JsonEncoderTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/Encoder/JsonEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\JsonEncoderTest::setUp()
File
- vendor/
symfony/ serializer/ Tests/ Encoder/ JsonEncoderTest.php, line 20
Class
Namespace
Symfony\Component\Serializer\Tests\EncoderCode
protected function setUp() {
$this->encoder = new JsonEncoder();
$this->serializer = new Serializer(array(
new CustomNormalizer(),
), array(
'json' => new JsonEncoder(),
));
}