protected function wrapInEntities(array $entities)
    {
        $results = array();
        foreach ($entities as $entity) {
            $results[] = self::getEntity($entity);
        }

        return $results;
    }
protected function wrapInEntities(array $entities)
    {
        $results = array();
        foreach ($entities as $entity) {
            $results[] = self::getEntity($entity);
        }

        return $results;
    }
protected function wrapInEntities ( array $ entities ) { $ results = array ( ) ; foreach ( $ entities as $ entity ) { $ results [ ] = self :: getEntity ( $ entity ) ; } return $ results ; }
Wraps the resultset into entities of the current object type.
@param  array  $entities
@return array
Wraps the resultset into entities of the current object type .