| 1 | <?php |
||
| 15 | class MockeryMockingStrategy extends AbstractMockingStrategy |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * MockeryMockingStrategy constructor. |
||
| 19 | */ |
||
| 20 | 3 | public function __construct() |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $fqcn |
||
| 27 | * @return MockInterface |
||
| 28 | */ |
||
| 29 | 24 | protected function doBuild(string $fqcn) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param MockInterface $mock |
||
| 36 | * @param Stub $stub |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | 24 | protected function doDecorate($mock, Stub $stub) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @param MockInterface $mock |
||
| 52 | * @return MockInterface |
||
| 53 | */ |
||
| 54 | 13 | protected function doGet($mock) |
|
| 58 | } |
||
| 59 |