Yaffs site version 1.1
[yaffs-website] / vendor / psy / psysh / src / Psy / ContextAware.php
1 <?php
2
3 /*
4  * This file is part of Psy Shell.
5  *
6  * (c) 2012-2017 Justin Hileman
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Psy;
13
14 /**
15  * ContextAware interface.
16  *
17  * This interface is used to pass the Shell's context into commands and such
18  * which require access to the current scope variables.
19  */
20 interface ContextAware
21 {
22     /**
23      * Set the Context reference.
24      *
25      * @param Context $context
26      */
27     public function setContext(Context $context);
28 }