/** * Build the project * @return void */ public function build() { $source = new Source($this->_source); foreach ($source->getFiles() as $file) { $this->copyFile(str_replace($this->_source, '', $file)); } }
/** * Hydrate the repository with files. * * @param \Songbird\File\Source $source */ public function addDataSource(Source $source) { $this->source = $source->getFiles(); }