| 148 |
lars |
1 |
<?php declare(strict_types=1);
|
|
|
2 |
/*
|
|
|
3 |
* This file is part of PHPUnit.
|
|
|
4 |
*
|
|
|
5 |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
|
|
|
6 |
*
|
|
|
7 |
* For the full copyright and license information, please view the LICENSE
|
|
|
8 |
* file that was distributed with this source code.
|
|
|
9 |
*/
|
|
|
10 |
namespace PHPUnit\Framework\MockObject;
|
|
|
11 |
|
|
|
12 |
use PHPUnit\Framework\MockObject\Builder\InvocationStubber;
|
|
|
13 |
|
|
|
14 |
/**
|
|
|
15 |
* @method InvocationStubber method($constraint)
|
|
|
16 |
*
|
|
|
17 |
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
|
|
|
18 |
*/
|
|
|
19 |
interface Stub
|
|
|
20 |
{
|
|
|
21 |
public function __phpunit_getInvocationHandler(): InvocationHandler;
|
|
|
22 |
|
|
|
23 |
public function __phpunit_hasMatchers(): bool;
|
|
|
24 |
|
|
|
25 |
public function __phpunit_setReturnValueGeneration(bool $returnValueGeneration): void;
|
|
|
26 |
}
|