public function Call::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Call/Call.php \Prophecy\Call\Call::__construct()
Initializes call.
Parameters
string $methodName:
array $arguments:
mixed $returnValue:
Exception $exception:
null|string $file:
null|int $line:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ Call.php, line 40
Class
- Call
- Call object.
Namespace
Prophecy\CallCode
public function __construct($methodName, array $arguments, $returnValue, Exception $exception = null, $file, $line) {
$this->methodName = $methodName;
$this->arguments = $arguments;
$this->returnValue = $returnValue;
$this->exception = $exception;
if ($file) {
$this->file = $file;
$this->line = intval($line);
}
}