supportsNormalization() public method

public supportsNormalization ( $data, $format = null )
Ejemplo n.º 1
0
 public function testNoStaticGetSetSupport()
 {
     $this->assertFalse($this->normalizer->supportsNormalization(new ObjectWithJustStaticSetterDummy()));
 }
 public function testNoTraversableSupport()
 {
     $this->assertFalse($this->normalizer->supportsNormalization(new \ArrayObject()));
 }