Google\Cloud\Datastore\Entity::get PHP 메소드

get() 공개 메소드

Example: $data = $entity->get();
public get ( ) : array
리턴 array
    public function get()
    {
        return $this->entity;
    }

Usage Example

예제 #1
0
 public function testSet()
 {
     $data = ['foo' => 'bar'];
     $entity = new Entity($this->key, []);
     $entity->set($data);
     $this->assertEquals($data, $entity->get());
 }
All Usage Examples Of Google\Cloud\Datastore\Entity::get