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