1: <?php
2: /**
3: * Sastrawi (https://github.com/sastrawi/sastrawi)
4: *
5: * @link http://github.com/sastrawi/sastrawi for the canonical source repository
6: * @license https://github.com/sastrawi/sastrawi/blob/master/LICENSE The MIT License (MIT)
7: */
8:
9: namespace Sastrawi\Stemmer\Context\Visitor;
10:
11: use Sastrawi\Stemmer\Context\ContextInterface;
12:
13: /**
14: * Context visitor interface. See visitor design pattern.
15: *
16: * @link http://en.wikipedia.org/wiki/Visitor_pattern
17: */
18: interface VisitorInterface
19: {
20: /**
21: * @return void
22: */
23: public function visit(ContextInterface $context);
24: }
25: