public function migrationExists($migration, $destination)
	{
		$existing = $this->getExistingMigrationNames($destination);

		return in_array(substr(basename($migration), 18), $existing);
	}
public function migrationExists($migration, $destination)
	{
		$existing = $this->getExistingMigrationNames($destination);

		return in_array(substr(basename($migration), 18), $existing);
	}
public function migrationExists ( $ migration , $ destination ) { $ existing = $ this -> getExistingMigrationNames ( $ destination ) ; return in_array ( substr ( basename ( $ migration ) , 18 ) , $ existing ) ; }
Determine if the migration is already published.

@param  string  $migration
@return bool
Determine if the migration is already published .