1<?php 2 3/* 4 * This file is part of Psy Shell. 5 * 6 * (c) 2012-2020 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 12namespace 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 */ 20interface ContextAware 21{ 22 /** 23 * Set the Context reference. 24 * 25 * @param Context $context 26 */ 27 public function setContext(Context $context); 28} 29