function extensions()
    {
        if (! $this->files->isDir(VALET_HOME_PATH.'/Extensions')) {
            return [];
        }

        return collect($this->files->scandir(VALET_HOME_PATH.'/Extensions'))
                    ->reject(function ($file) {
                        return is_dir($file);
                    })
                    ->map(function ($file) {
                        return VALET_HOME_PATH.'/Extensions/'.$file;
                    })
                    ->values()->all();
    }
function extensions()
    {
        if (! $this->files->isDir(VALET_HOME_PATH.'/Extensions')) {
            return [];
        }

        return collect($this->files->scandir(VALET_HOME_PATH.'/Extensions'))
                    ->reject(function ($file) {
                        return is_dir($file);
                    })
                    ->map(function ($file) {
                        return VALET_HOME_PATH.'/Extensions/'.$file;
                    })
                    ->values()->all();
    }
function extensions ( ) { if ( ! $ this -> files -> isDir ( VALET_HOME_PATH . '/Extensions' ) ) { return [ ] ; } return collect ( $ this -> files -> scandir ( VALET_HOME_PATH . '/Extensions' ) ) -> reject ( function ( $ file ) { return is_dir ( $ file ) ; } ) -> map ( function ( $ file ) { return VALET_HOME_PATH . '/Extensions/' . $ file ; } ) -> values ( ) -> all ( ) ; }
Get the paths to all of the Valet extensions.

@return array
Get the paths to all of the Valet extensions .