public function getExistingMigrationNames($destination)
	{
		if (isset($this->existing[$destination])) return $this->existing[$destination];

		return $this->existing[$destination] = array_map(function($file)
		{
			return substr(basename($file), 18);

		}, $this->files->files($destination));
	}
public function getExistingMigrationNames($destination)
	{
		if (isset($this->existing[$destination])) return $this->existing[$destination];

		return $this->existing[$destination] = array_map(function($file)
		{
			return substr(basename($file), 18);

		}, $this->files->files($destination));
	}
public function getExistingMigrationNames ( $ destination ) { if ( isset ( $ this -> existing [ $ destination ] ) ) return $ this -> existing [ $ destination ] ; return $ this -> existing [ $ destination ] = array_map ( function ( $ file ) { return substr ( basename ( $ file ) , 18 ) ; } , $ this -> files -> files ( $ destination ) ) ; }
Get the existing migration names from the destination.

@param  string  $destination
@return array
Get the existing migration names from the destination .