class MethodNotFoundException
Hierarchy
- class \Prophecy\Exception\Doubler\DoubleException extends \RuntimeException implements \Prophecy\Exception\Doubler\DoublerException
- class \Prophecy\Exception\Doubler\MethodNotFoundException extends \Prophecy\Exception\Doubler\DoubleException
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 16
Namespace
Prophecy\Exception\DoublerView source
class MethodNotFoundException extends DoubleException {
/**
* @var string|object
*/
private $classname;
/**
* @var string
*/
private $methodName;
/**
* @var null|ArgumentsWildcard|array<mixed>
*/
private $arguments;
/**
* @param string $message
* @param string|object $classname
* @param string $methodName
* @param null|ArgumentsWildcard|array<mixed> $arguments
*/
public function __construct($message, $classname, $methodName, $arguments = null) {
parent::__construct($message);
$this->classname = $classname;
$this->methodName = $methodName;
$this->arguments = $arguments;
}
/**
* @return object|string
*/
public function getClassname() {
return $this->classname;
}
/**
* @return string
*/
public function getMethodName() {
return $this->methodName;
}
/**
* @return null|ArgumentsWildcard|array<mixed>
*/
public function getArguments() {
return $this->arguments;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MethodNotFoundException::$arguments | private | property | |
MethodNotFoundException::$classname | private | property | |
MethodNotFoundException::$methodName | private | property | |
MethodNotFoundException::getArguments | public | function | |
MethodNotFoundException::getClassname | public | function | |
MethodNotFoundException::getMethodName | public | function | |
MethodNotFoundException::__construct | public | function |