Version 1
[yaffs-website] / vendor / psy / psysh / src / Psy / VarDumper / PresenterAware.php
diff --git a/vendor/psy/psysh/src/Psy/VarDumper/PresenterAware.php b/vendor/psy/psysh/src/Psy/VarDumper/PresenterAware.php
new file mode 100644 (file)
index 0000000..8406b8a
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ * This file is part of Psy Shell.
+ *
+ * (c) 2012-2017 Justin Hileman
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Psy\VarDumper;
+
+/**
+ * Presenter injects itself as a dependency to all objects which
+ * implement PresenterAware.
+ */
+interface PresenterAware
+{
+    /**
+     * Set a reference to the Presenter.
+     *
+     * @param Presenter $presenter
+     */
+    public function setPresenter(Presenter $presenter);
+}