jsonSerialize() публичный Метод

public jsonSerialize ( )
Пример #1
0
 public function testJsonSerialize()
 {
     $key = new Key('foo');
     $key->pathElement('Robots', '1000', Key::TYPE_NAME);
     $this->assertEquals($key->jsonSerialize(), $key->keyObject());
 }