FakeShell.php 529 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of Psy Shell.
  4. *
  5. * (c) 2012-2018 Justin Hileman
  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 Psy\Test;
  11. use Psy\Shell;
  12. class FakeShell extends Shell
  13. {
  14. public $matchers;
  15. public function __construct(Configuration $config = null)
  16. {
  17. // This space intentionally left blank
  18. }
  19. public function addMatchers(array $matchers)
  20. {
  21. $this->matchers = $matchers;
  22. }
  23. }