public function publish($source, $destination)
	{
		$add = 0;

		$published = array();

		foreach ($this->getFreshMigrations($source, $destination) as $file)
		{
			$add++;

			$newName = $this->getNewMigrationName($file, $add);

			$this->files->copy(
				$file, $newName = $destination.'/'.$newName
			);

			$published[] = $newName;
		}

		return $published;
	}
public function publish($source, $destination)
	{
		$add = 0;

		$published = array();

		foreach ($this->getFreshMigrations($source, $destination) as $file)
		{
			$add++;

			$newName = $this->getNewMigrationName($file, $add);

			$this->files->copy(
				$file, $newName = $destination.'/'.$newName
			);

			$published[] = $newName;
		}

		return $published;
	}
public function publish ( $ source , $ destination ) { $ add = 0 ; $ published = array ( ) ; foreach ( $ this -> getFreshMigrations ( $ source , $ destination ) as $ file ) { $ add ++ ; $ newName = $ this -> getNewMigrationName ( $ file , $ add ) ; $ this -> files -> copy ( $ file , $ newName = $ destination . '/' . $ newName ) ; $ published [ ] = $ newName ; } return $ published ; }
Publish the given package's migrations.

@param  string  $source
@param  string  $destination
@return array
Publish the given package s migrations .