1 | <?php |
||
15 | class AsDefaultValue extends AbstractParameterAssert |
||
16 | { |
||
17 | /** |
||
18 | * @var mixed |
||
19 | */ |
||
20 | private $value; |
||
21 | |||
22 | public function __construct($class, $method, $parameter, $value) |
||
27 | |||
28 | /** |
||
29 | * Executes the assert |
||
30 | * |
||
31 | * @return boolean |
||
32 | */ |
||
33 | public function execute() |
||
49 | |||
50 | /** |
||
51 | * Creates the fail message |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | protected function createFailMessage() |
||
60 | |||
61 | /** |
||
62 | * Returns the assert description |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getDescription() |
||
70 | } |