library/Criteria/Isolated/DocumentStore.php
public function get(MongoCollection $dataGateway, $id)
    {
        $id = (string) $id;

        if ($this->has($dataGateway, $id)) {
            return $this->splObjectStorage[$dataGateway][$id];
        }
    }
public function get(MongoCollection $dataGateway, $id)
    {
        $id = (string) $id;

        if ($this->has($dataGateway, $id)) {
            return $this->splObjectStorage[$dataGateway][$id];
        }
    }
public function get ( MongoCollection $ dataGateway , $ id ) { $ id = ( string ) $ id ; if ( $ this -> has ( $ dataGateway , $ id ) ) { return $ this -> splObjectStorage [ $ dataGateway ] [ $ id ] ; } }
Retrieve the given data gateway from the store

@param MongoCollection $dataGateway
@param $id
@return mixed|null
Retrieve the given data gateway from the store