◆ __construct()
| Prophecy\Call\Call::__construct |
( |
|
$methodName, |
|
|
array |
$arguments, |
|
|
|
$returnValue, |
|
|
Exception |
$exception = null, |
|
|
|
$file, |
|
|
|
$line |
|
) |
| |
Initializes call.
- Parameters
-
| string | $methodName | |
| array | $arguments | |
| mixed | $returnValue | |
| Exception | $exception | |
| null | string | $file | |
| null | int | $line | |
◆ addScore()
Adds the wildcard match score for the provided wildcard.
- Parameters
-
| ArgumentsWildcard | $wildcard | |
| false | int | $score | |
- Returns
- $this
◆ getArguments()
| Prophecy\Call\Call::getArguments |
( |
| ) |
|
Returns called method arguments.
- Returns
- array
◆ getCallPlace()
| Prophecy\Call\Call::getCallPlace |
( |
| ) |
|
Returns short notation for callee place.
- Returns
- string
◆ getException()
| Prophecy\Call\Call::getException |
( |
| ) |
|
Returns exception that call thrown.
- Returns
- null|Exception
◆ getFile()
| Prophecy\Call\Call::getFile |
( |
| ) |
|
Returns callee filename.
- Returns
- string
◆ getLine()
| Prophecy\Call\Call::getLine |
( |
| ) |
|
Returns callee line number.
- Returns
- int
◆ getMethodName()
| Prophecy\Call\Call::getMethodName |
( |
| ) |
|
Returns called method name.
- Returns
- string
◆ getReturnValue()
| Prophecy\Call\Call::getReturnValue |
( |
| ) |
|
Returns called method return value.
- Returns
- null|mixed
◆ getScore()
Returns wildcard match score for the provided wildcard. The score is calculated if not already done.
- Parameters
-
| ArgumentsWildcard | $wildcard | |
- Returns
- false|int False OR integer score (higher - better)
The documentation for this class was generated from the following file:
- vendor/phpspec/prophecy/src/Prophecy/Call/Call.php