7ff00bd2e47172eae604b40d7c5a9722f3acc56d
[yaffs-website] / ValueInterface.php
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 @trigger_error('The '.__NAMESPACE__.'\ValueInterface interface is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
15
16 /**
17  * @author Jean-François Simon <contact@jfsimon.fr>
18  */
19 interface ValueInterface
20 {
21     /**
22      * Renders string representation of expression.
23      *
24      * @return string
25      */
26     public function render();
27
28     /**
29      * Renders string representation of pattern.
30      *
31      * @return string
32      */
33     public function renderPattern();
34
35     /**
36      * Returns value case sensitivity.
37      *
38      * @return bool
39      */
40     public function isCaseSensitive();
41
42     /**
43      * Returns expression type.
44      *
45      * @return int
46      */
47     public function getType();
48
49     /**
50      * @param string $expr
51      *
52      * @return $this
53      */
54     public function prepend($expr);
55
56     /**
57      * @param string $expr
58      *
59      * @return $this
60      */
61     public function append($expr);
62 }