Pop\Archive\Adapter\Zip::getDirs PHP Метод

getDirs() публичный Метод

Method to return an array of all the directories in the archive
public getDirs ( ) : array
Результат array
    public function getDirs()
    {
        $dirs = array();
        $list = $this->listFiles(true);
        foreach ($list as $entry) {
            if ($entry['size'] == 0) {
                $dirs[] = $entry['name'];
            }
        }
        return $dirs;
    }