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\Stub;
11
 
12
use PHPUnit\Framework\MockObject\Invocation;
13
use PHPUnit\Framework\SelfDescribing;
14
 
15
/**
16
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
17
 */
18
interface Stub extends SelfDescribing
19
{
20
    /**
21
     * Fakes the processing of the invocation $invocation by returning a
22
     * specific value.
23
     *
24
     * @param Invocation $invocation The invocation which was mocked and matched by the current method and argument matchers
25
     */
26
    public function invoke(Invocation $invocation);
27
}