1 | <?php |
||
24 | class FakeIpPlugin implements Plugin |
||
25 | { |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $needle; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $replacement; |
||
35 | |||
36 | /** |
||
37 | * @param string $needle |
||
38 | * @param string $replacement |
||
39 | */ |
||
40 | public function __construct(string $needle, string $replacement) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function handleQuery(Query $query, callable $next, callable $first) |
||
62 | } |
||
63 |