public function publish($src, $dstDir) {
		$r = true;
		foreach(glob($src.'/*') as $file) {
			$dst = $dstDir.'/'.basename($file);
			if(!$this->copy($file, $dst))
				$r = false;
		}
		return $r;
	}
public function publish($src, $dstDir) {
		$r = true;
		foreach(glob($src.'/*') as $file) {
			$dst = $dstDir.'/'.basename($file);
			if(!$this->copy($file, $dst))
				$r = false;
		}
		return $r;
	}
public function publish ( $ src , $ dstDir ) { $ r = true ; foreach ( glob ( $ src . '/*' ) as $ file ) { $ dst = $ dstDir . '/' . basename ( $ file ) ; if ( ! $ this -> copy ( $ file , $ dst ) ) $ r = false ; } return $ r ; }
Publish assets from a directory to another.
@param  string $src
@param  string $dstDir
@return boolean true for success
Publish assets from a directory to another .