X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FTabCompletion%2FMatcher%2FAbstractContextAwareMatcher.php;fp=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FTabCompletion%2FMatcher%2FAbstractContextAwareMatcher.php;h=0000000000000000000000000000000000000000;hp=ad4d74ff23a41728aa40b9f4fe869ea2c3026502;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/AbstractContextAwareMatcher.php b/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/AbstractContextAwareMatcher.php deleted file mode 100644 index ad4d74ff2..000000000 --- a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/AbstractContextAwareMatcher.php +++ /dev/null @@ -1,65 +0,0 @@ - - */ -abstract class AbstractContextAwareMatcher extends AbstractMatcher implements ContextAware -{ - /** - * Context instance (for ContextAware interface). - * - * @var Context - */ - protected $context; - - /** - * ContextAware interface. - * - * @param Context $context - */ - public function setContext(Context $context) - { - $this->context = $context; - } - - /** - * Get a Context variable by name. - * - * @param $var Variable name - * - * @return mixed - */ - protected function getVariable($var) - { - return $this->context->get($var); - } - - /** - * Get all variables in the current Context. - * - * @return array - */ - protected function getVariables() - { - return $this->context->getAll(); - } -}