public function getEntity($entityId)
    {
        if (isset($this->entities[$entityId])) {
            return $this->entities[$entityId];
        }

        $this->entities[$entityId] = $this->client->getEntity($entityId);

        return $this->entities[$entityId];
    }
public function getEntity($entityId)
    {
        if (isset($this->entities[$entityId])) {
            return $this->entities[$entityId];
        }

        $this->entities[$entityId] = $this->client->getEntity($entityId);

        return $this->entities[$entityId];
    }
public function getEntity ( $ entityId ) { if ( isset ( $ this -> entities [ $ entityId ] ) ) { return $ this -> entities [ $ entityId ] ; } $ this -> entities [ $ entityId ] = $ this -> client -> getEntity ( $ entityId ) ; return $ this -> entities [ $ entityId ] ; }
Get full information for a given entity.

@param $entityId
@return array
Get full information for a given entity .