Exemplo n.º 1
0
 /**
  * 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));
     }
 }
Exemplo n.º 2
0
 /**
  * Hydrate the repository with files.
  *
  * @param \Songbird\File\Source $source
  */
 public function addDataSource(Source $source)
 {
     $this->source = $source->getFiles();
 }