Folder::inventory PHP Метод

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

Returns the entire content of the directory
public inventory ( ) : array
Результат array
    public function inventory()
    {
        if (!is_dir($this->root)) {
            return array();
        }
        return $this->inventory = is_null($this->inventory) ? scandir($this->root) : $this->inventory;
    }