Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
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\Builder;
11
 
12
use PHPUnit\Framework\MockObject\Stub\Stub as BaseStub;
13
 
14
/**
15
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
16
 */
17
interface Stub extends Identity
18
{
19
    /**
20
     * Stubs the matching method with the stub object $stub. Any invocations of
21
     * the matched method will now be handled by the stub instead.
22
     */
23
    public function will(BaseStub $stub): Identity;
24
}