diff vendor/psy/psysh/test/FakeShell.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/psy/psysh/test/FakeShell.php	Thu Jul 05 14:24:15 2018 +0000
@@ -0,0 +1,29 @@
+<?php
+
+/*
+ * This file is part of Psy Shell.
+ *
+ * (c) 2012-2018 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\Shell;
+
+class FakeShell extends Shell
+{
+    public $matchers;
+
+    public function __construct(Configuration $config = null)
+    {
+        // This space intentionally left blank
+    }
+
+    public function addMatchers(array $matchers)
+    {
+        $this->matchers = $matchers;
+    }
+}