src/Deploys/Deployer.php
public function run($paths = [], array $options = [])
    {
        $this->notes = [];

        $files = $this->getDeployFiles($paths);

        $this->requireFiles($files);

        $this->runDeployies($files, $options);

        $this->runClearDatabaseCollections();

        return $files;
    }
public function run($paths = [], array $options = [])
    {
        $this->notes = [];

        $files = $this->getDeployFiles($paths);

        $this->requireFiles($files);

        $this->runDeployies($files, $options);

        $this->runClearDatabaseCollections();

        return $files;
    }
public function run ( $ paths = [ ] , array $ options = [ ] ) { $ this -> notes = [ ] ; $ files = $ this -> getDeployFiles ( $ paths ) ; $ this -> requireFiles ( $ files ) ; $ this -> runDeployies ( $ files , $ options ) ; $ this -> runClearDatabaseCollections ( ) ; return $ files ; }
Run the pending deployies at a given path.

@param  array|string  $paths
@param  array  $options
@return array
Run the pending deployies at a given path .