public function loadFiles(array $files, $type = 'yaml')
    {
        $set = $this->createFixtureSet();
        foreach ($files as $file) {
            $set->addFile($file, $type);
        }
        $set->setDoPersist(false);

        return $this->load($set);
    }
public function loadFiles(array $files, $type = 'yaml')
    {
        $set = $this->createFixtureSet();
        foreach ($files as $file) {
            $set->addFile($file, $type);
        }
        $set->setDoPersist(false);

        return $this->load($set);
    }
public function loadFiles ( array $ files , $ type = 'yaml' ) { $ set = $ this -> createFixtureSet ( ) ; foreach ( $ files as $ file ) { $ set -> addFile ( $ file , $ type ) ; } $ set -> setDoPersist ( false ) ; return $ this -> load ( $ set ) ; }
Loads entites from file, does _not_ persist them.

@param array $files
@param string $type
@return array
Loads entites from file does _not_ persist them .