Lines Matching refs:create
327 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
328 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
329 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
335 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
336 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
337 …->serializer->serialize($data, $this->getFormat(), SerializationContext::create()->setInitialType(…
349 [[], '[]', SerializationContext::create()->setInitialType('array')],
350 [[], '[]', SerializationContext::create()->setInitialType('array<integer>')],
351 [[], '{}', SerializationContext::create()->setInitialType('array<string,integer>')],
353 [[1, 2], '[1,2]', SerializationContext::create()->setInitialType('array')],
354 … [[1 => 1, 2 => 2], '{"1":1,"2":2}', SerializationContext::create()->setInitialType('array')],
355 … [[1 => 1, 2 => 2], '[1,2]', SerializationContext::create()->setInitialType('array<integer>')],
356 … [['a', 'b'], '["a","b"]', SerializationContext::create()->setInitialType('array<string>')],
358 …[[1 => 'a', 2 => 'b'], '["a","b"]', SerializationContext::create()->setInitialType('array<string>'…
359 …[['a' => 'a', 'b' => 'b'], '["a","b"]', SerializationContext::create()->setInitialType('array<stri…
361 …[[1, 2], '{"0":1,"1":2}', SerializationContext::create()->setInitialType('array<integer,integer>')…
362 …[[1, 2], '{"0":1,"1":2}', SerializationContext::create()->setInitialType('array<string,integer>')],
363 …[[1, 2], '{"0":"1","1":"2"}', SerializationContext::create()->setInitialType('array<string,string>…
365 …[['a', 'b'], '{"0":"a","1":"b"}', SerializationContext::create()->setInitialType('array<integer,st…
366 …[['a' => 'a', 'b' => 'b'], '{"a":"a","b":"b"}', SerializationContext::create()->setInitialType('ar…
395 [[$c1], '[{}]', SerializationContext::create()->setInitialType('array<stdClass>')],
397 … [[$c2], '[{"foo":"bar"}]', SerializationContext::create()->setInitialType('array<stdClass>')],
399 …[[$tag], '[{"name":"tag"}]', SerializationContext::create()->setInitialType('array<JMS\Serializer\…
401 … [[$c1], '{"0":{}}', SerializationContext::create()->setInitialType('array<integer,stdClass>')],
402 …[[$c2], '{"0":{"foo":"bar"}}', SerializationContext::create()->setInitialType('array<integer,stdCl…
404 …[[$c3], '{"0":{"foo":{"name":"tag"}}}', SerializationContext::create()->setInitialType('array<inte…
405 …[[$c3], '[{"foo":{"name":"tag"}}]', SerializationContext::create()->setInitialType('array<stdClass…
407 …[[$tag], '{"0":{"name":"tag"}}', SerializationContext::create()->setInitialType('array<integer,JMS…