comparison vendor/psy/psysh/src/Psy/ContextAware.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }