PhiO: Object-oriented filesystem library for PHP
  • Namespace
  • Class
  • Tree
  • Todo

Namespaces

  • amekusa
    • phio
  • PHP

Classes

  • amekusa\phio\Directory
  • amekusa\phio\File
  • amekusa\phio\FilePool
  • amekusa\phio\Filter
  • amekusa\phio\Perms
  • amekusa\phio\RegexFilter
  • amekusa\phio\RegFile

Exceptions

  • amekusa\phio\ErrorException
  • amekusa\phio\IOException
 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
<?php namespace amekusa\phio; main::required;

/**
 * @author amekusa <post@amekusa.com>
 */
class IOException extends \RuntimeException {
    protected $ioFile;

    /**
     * @ignore
     * @param string $Msg
     * @param integer $Code
     * @param \Exception $Previous
     * @return IOException
     */
    public static function create($Msg = null, $Code = null, $Previous = null) {
        return new static($Msg, $Code, $Previous);
    }

    /**
     * Returns a {@link File} object that the exception occurred on its I/O operation
     * @return File
     */
    public function getIOFile() {
        return $this->ioFile;
    }

    /**
     * Sets a {@link File} object that the exception occurred on its I/O operation
     * @param File $IOFile
     * @return IOException This
     */
    public function setIOFile(File $IOFile) {
        $this->ioFile = $IOFile;
        return $this;
    }
}
PhiO: Object-oriented filesystem library for PHP API documentation generated by ApiGen