src/Deploys/Deployer.php
public function getDeployFiles($paths)
    {
        return Collection::make($paths)->flatMap(function ($path) {
            return $this->files->glob($path.'/*.php');
        })->filter()->sortBy(function ($file) {
                return $this->getDeployName($file);
            })->values()->keyBy(function ($file) {
                return $this->getDeployName($file);
            })->all();
    }
public function getDeployFiles($paths)
    {
        return Collection::make($paths)->flatMap(function ($path) {
            return $this->files->glob($path.'/*.php');
        })->filter()->sortBy(function ($file) {
                return $this->getDeployName($file);
            })->values()->keyBy(function ($file) {
                return $this->getDeployName($file);
            })->all();
    }
public function getDeployFiles ( $ paths ) { return Collection :: make ( $ paths ) -> flatMap ( function ( $ path ) { return $ this -> files -> glob ( $ path . '/*.php' ) ; } ) -> filter ( ) -> sortBy ( function ( $ file ) { return $ this -> getDeployName ( $ file ) ; } ) -> values ( ) -> keyBy ( function ( $ file ) { return $ this -> getDeployName ( $ file ) ; } ) -> all ( ) ; }
Get all of the deploy files in a given path.

@param  string|array  $paths
@return array
Get all of the deploy files in a given path .