1: <?php
2:
3: /*
4: * This file is part of the Symfony package.
5: *
6: * (c) Fabien Potencier <fabien@symfony.com>
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 Symfony\Component\Finder\Expression;
13:
14: /**
15: * @author Jean-François Simon <contact@jfsimon.fr>
16: */
17: interface ValueInterface
18: {
19: /**
20: * Renders string representation of expression.
21: *
22: * @return string
23: */
24: public function render();
25:
26: /**
27: * Renders string representation of pattern.
28: *
29: * @return string
30: */
31: public function renderPattern();
32:
33: /**
34: * Returns value case sensitivity.
35: *
36: * @return bool
37: */
38: public function isCaseSensitive();
39:
40: /**
41: * Returns expression type.
42: *
43: * @return int
44: */
45: public function getType();
46:
47: /**
48: * @param string $expr
49: *
50: * @return ValueInterface
51: */
52: public function prepend($expr);
53:
54: /**
55: * @param string $expr
56: *
57: * @return ValueInterface
58: */
59: public function append($expr);
60: }
61: