You are here

class PHPUnit_Framework_Error in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Error.php \PHPUnit_Framework_Error

Wrapper for PHP errors.

@since Class available since Release 2.2.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_Error

1 string reference to 'PHPUnit_Framework_Error'
PHPUnit_Util_ErrorHandler::handleError in vendor/phpunit/phpunit/src/Util/ErrorHandler.php

File

vendor/phpunit/phpunit/src/Framework/Error.php, line 16

View source
class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception {

  /**
   * Constructor.
   *
   * @param string    $message
   * @param int       $code
   * @param string    $file
   * @param int       $line
   * @param Exception $previous
   */
  public function __construct($message, $code, $file, $line, Exception $previous = null) {
    parent::__construct($message, $code, $previous);
    $this->file = $file;
    $this->line = $line;
  }

}

Members