You are here

class MethodNotFoundException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php \Prophecy\Exception\Doubler\MethodNotFoundException

Hierarchy

Expanded class hierarchy of MethodNotFoundException

1 file declares its use of MethodNotFoundException
MethodProphecy.php in vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php, line 14

Namespace

Prophecy\Exception\Doubler
View source
class MethodNotFoundException extends DoubleException {

  /**
   * @var string
   */
  private $classname;

  /**
   * @var string
   */
  private $methodName;

  /**
   * @var array
   */
  private $arguments;

  /**
   * @param string $message
   * @param string $classname
   * @param string $methodName
   * @param null|Argument\ArgumentsWildcard|array $arguments
   */
  public function __construct($message, $classname, $methodName, $arguments = null) {
    parent::__construct($message);
    $this->classname = $classname;
    $this->methodName = $methodName;
    $this->arguments = $arguments;
  }
  public function getClassname() {
    return $this->classname;
  }
  public function getMethodName() {
    return $this->methodName;
  }
  public function getArguments() {
    return $this->arguments;
  }

}

Members