Kedrigern\phpIO\Files::writeable PHP Метод

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

Is files writeable? If not exception is throw.
public writeable ( ) : Files
Результат Files $this
    public function writeable()
    {
        chdir($this->dir);
        foreach ($this->files as $file) {
            if (!is_writeable($file)) {
                throw new NotEnoughPrivileges('write', fileperms($file), $file);
            }
        }
        chdir($this->originDir);
        return $this;
    }