src/Charcoal/Admin/Action/ElfinderConnectorAction.php
public function getAllRoots()
    {
        $roots = [];
        foreach ($this->filesystems->keys() as $ident) {
            $disk = $this->getNamedRoot($ident);
            if ($disk !== null) {
                $roots[$ident] = $disk;
            }
        }

        return $roots;
    }
public function getAllRoots()
    {
        $roots = [];
        foreach ($this->filesystems->keys() as $ident) {
            $disk = $this->getNamedRoot($ident);
            if ($disk !== null) {
                $roots[$ident] = $disk;
            }
        }

        return $roots;
    }
public function getAllRoots ( ) { $ roots = [ ] ; foreach ( $ this -> filesystems -> keys ( ) as $ ident ) { $ disk = $ this -> getNamedRoot ( $ ident ) ; if ( $ disk !== null ) { $ roots [ $ ident ] = $ disk ; } } return $ roots ; }
Retrieve all elFinder root volumes.

@return array
Retrieve all elFinder root volumes .