src/Aindong/Pluggables/Pluggables.php
protected function getAllBaseNames()
    {
        $pluggables = [];

        $path = $this->getPath();

        if (!is_dir($path)) {
            return $pluggables;
        }

        $folders = $this->files->directories($path);

        foreach ($folders as $plug) {
            $pluggables[] = basename($plug);
        }

        return $pluggables;
    }
protected function getAllBaseNames()
    {
        $pluggables = [];

        $path = $this->getPath();

        if (!is_dir($path)) {
            return $pluggables;
        }

        $folders = $this->files->directories($path);

        foreach ($folders as $plug) {
            $pluggables[] = basename($plug);
        }

        return $pluggables;
    }
protected function getAllBaseNames ( ) { $ pluggables = [ ] ; $ path = $ this -> getPath ( ) ; if ( ! is_dir ( $ path ) ) { return $ pluggables ; } $ folders = $ this -> files -> directories ( $ path ) ; foreach ( $ folders as $ plug ) { $ pluggables [ ] = basename ( $ plug ) ; } return $ pluggables ; }
Get all pluggable basenames.

@return array
Get all pluggable basenames .