12345678910111213141516171819202122232425262728293031 |
- <?php
- /*
- * This file is part of Psy Shell.
- *
- * (c) 2012-2023 Justin Hileman
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Psy\Test;
- use Psy\Configuration;
- use Psy\Shell;
- class FakeShell extends Shell
- {
- public $matchers;
- public function __construct(Configuration $config = null)
- {
- // Do something (silly) with $config for phpstan's sake.
- $config = null;
- }
- public function addMatchers(array $matchers)
- {
- $this->matchers = $matchers;
- }
- }
|