Method | Description | |
---|---|---|
__construct ( string $methodName, mixed $value, Prophecy\Util\StringUtil $util = null, Prophecy\Comparator\Factory $comparatorFactory = null ) | Initializes token. | |
__toString ( ) : string | Returns string representation for token. | |
isLast ( ) : boolean | Returns false. | |
scoreArgument ( mixed $argument ) : boolean | integer | Scores 8 if argument is an object, which method returns expected value. |
public __construct ( string $methodName, mixed $value, Prophecy\Util\StringUtil $util = null, Prophecy\Comparator\Factory $comparatorFactory = null ) | ||
$methodName | string | |
$value | mixed | Expected return value |
$util | Prophecy\Util\StringUtil | |
$comparatorFactory | Prophecy\Comparator\Factory |
public __toString ( ) : string | ||
return | string |