Overview

Namespaces

  • emyu10
    • PhpView

Classes

  • emyu10\PhpView\Renderer

Exceptions

  • emyu10\PhpView\FileNotFoundException
  • Overview
  • Namespace
  • Class
 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: 
<?php
namespace emyu10\PhpView;

/**
 * FileNotFoundException class
 *
 * throw this exception if a view file is not found.
 * this class extends \Exception class
 *
 * @since 2018-03-01
 * @author Mohamed Usman <emyu10@gmail.com>
 */
class FileNotFoundException extends \Exception
{
    /**
     * Constructor.
     *
     * extends \Exception
     *
     * @param string $file name of the file.
     */
    public function __construct($file)
    {
        $message = "{$file} is not found.";
        parent::__construct($message);
    }
}
API documentation generated by ApiGen