function Call::__construct
Initializes call.
Parameters
string $methodName:
array<mixed> $arguments:
mixed $returnValue:
Exception|null $exception:
null|string $file:
null|int $line:
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ Call.php, line 51
Class
- Call
- Call object.
Namespace
Prophecy\CallCode
public function __construct($methodName, array $arguments, $returnValue, ?Exception $exception, $file, $line) {
$this->methodName = $methodName;
$this->arguments = $arguments;
$this->returnValue = $returnValue;
$this->exception = $exception;
$this->scores = new \SplObjectStorage();
if ($file) {
$this->file = $file;
$this->line = intval($line);
}
}