protected function implementVOs(array $datas = array())
    {
        $ret = array();

        if (!$class = $this->getVOFQCN()) {
            throw new \RuntimeException('VOFQCN is not defined for ' . get_called_class());
        }

        $datas = $this->translationLoader($class, $datas);

        foreach ($datas as &$row) {
            $ret[$row[$this->getIdentityColumn()]] = new $class($row);
        }

        return $ret;
    }
protected function implementVOs(array $datas = array())
    {
        $ret = array();

        if (!$class = $this->getVOFQCN()) {
            throw new \RuntimeException('VOFQCN is not defined for ' . get_called_class());
        }

        $datas = $this->translationLoader($class, $datas);

        foreach ($datas as &$row) {
            $ret[$row[$this->getIdentityColumn()]] = new $class($row);
        }

        return $ret;
    }
protected function implementVOs ( array $ datas = array ( ) ) { $ ret = array ( ) ; if ( ! $ class = $ this -> getVOFQCN ( ) ) { throw new \ RuntimeException ( 'VOFQCN is not defined for ' . get_called_class ( ) ) ; } $ datas = $ this -> translationLoader ( $ class , $ datas ) ; foreach ( $ datas as & $ row ) { $ ret [ $ row [ $ this -> getIdentityColumn ( ) ] ] = new $ class ( $ row ) ; } return $ ret ; }
Implements a bunch of \Berthe\VO from datas
@param array $datas
@return \Berthe\VO
Implements a bunch of \ Berthe \ VO from datas