class UnexpectedCallException
Hierarchy
- class \Prophecy\Exception\Prophecy\ObjectProphecyException extends \Prophecy\Exception\Prophecy\RuntimeException implements \Prophecy\Exception\Prophecy\ProphecyException
- class \Prophecy\Exception\Call\UnexpectedCallException extends \Prophecy\Exception\Prophecy\ObjectProphecyException
Expanded class hierarchy of UnexpectedCallException
1 file declares its use of UnexpectedCallException
- CallCenter.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ CallCenter.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Call/ UnexpectedCallException.php, line 17
Namespace
Prophecy\Exception\CallView source
class UnexpectedCallException extends ObjectProphecyException {
private $methodName;
private $arguments;
/**
* @param string $message
* @param ObjectProphecy<object> $objectProphecy
* @param string $methodName
* @param array<mixed> $arguments
*/
public function __construct($message, ObjectProphecy $objectProphecy, $methodName, array $arguments) {
parent::__construct($message, $objectProphecy);
$this->methodName = $methodName;
$this->arguments = $arguments;
}
/**
* @return string
*/
public function getMethodName() {
return $this->methodName;
}
/**
* @return array<mixed>
*/
public function getArguments() {
return $this->arguments;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ObjectProphecyException::$objectProphecy | private | property | ||
ObjectProphecyException::getObjectProphecy | public | function | ||
UnexpectedCallException::$arguments | private | property | ||
UnexpectedCallException::$methodName | private | property | ||
UnexpectedCallException::getArguments | public | function | ||
UnexpectedCallException::getMethodName | public | function | ||
UnexpectedCallException::__construct | public | function | Overrides ObjectProphecyException::__construct |