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;
10:
11: /**
12: * Container of a removed part during the stemming process.
13: *
14: * @since 0.2.0
15: * @author Andy Librian <andylibrian@gmail.com>
16: */
17: interface RemovalInterface
18: {
19: /**
20: * @return Visitor\VisitorInterface
21: */
22: public function getVisitor();
23:
24: /**
25: * @return string
26: */
27: public function getSubject();
28:
29: /**
30: * @return string
31: */
32: public function getResult();
33:
34: /**
35: * @return string
36: */
37: public function getRemovedPart();
38:
39: /**
40: * @return string
41: */
42: public function getAffixType();
43: }
44: