keyObject() 공개 메소드

Get the key object formatted for the datastore service.
public keyObject ( ) : array
리턴 array
예제 #1
0
 public function testJsonSerialize()
 {
     $key = new Key('foo');
     $key->pathElement('Robots', '1000', Key::TYPE_NAME);
     $this->assertEquals($key->jsonSerialize(), $key->keyObject());
 }