protected function cacheResults(array $results)
    {
        $mapper = $this->mapper;

        // When hydrating EmbeddedValue object, they'll likely won't
        // have a primary key set.
        if ($mapper->getEntityMap()->getKeyName() !== null) {
            $mapper->getEntityCache()->add($results);
        }
    }
protected function cacheResults(array $results)
    {
        $mapper = $this->mapper;

        // When hydrating EmbeddedValue object, they'll likely won't
        // have a primary key set.
        if ($mapper->getEntityMap()->getKeyName() !== null) {
            $mapper->getEntityCache()->add($results);
        }
    }
protected function cacheResults ( array $ results ) { $ mapper = $ this -> mapper ; // When hydrating EmbeddedValue object, they'll likely won't // have a primary key set. if ( $ mapper -> getEntityMap ( ) -> getKeyName ( ) !== null ) { $ mapper -> getEntityCache ( ) -> add ( $ results ) ; } }
Cache result set.

@param array $results

@return void
Cache result set .