forked from GNUsocial/gnu-social
63 lines
1.2 KiB
PHP
63 lines
1.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Component\Finder\Expression;
|
|
|
|
@trigger_error('The '.__NAMESPACE__.'\ValueInterface interface is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
|
|
|
|
/**
|
|
* @author Jean-François Simon <contact@jfsimon.fr>
|
|
*/
|
|
interface ValueInterface
|
|
{
|
|
/**
|
|
* Renders string representation of expression.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function render();
|
|
|
|
/**
|
|
* Renders string representation of pattern.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function renderPattern();
|
|
|
|
/**
|
|
* Returns value case sensitivity.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function isCaseSensitive();
|
|
|
|
/**
|
|
* Returns expression type.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getType();
|
|
|
|
/**
|
|
* @param string $expr
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function prepend($expr);
|
|
|
|
/**
|
|
* @param string $expr
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function append($expr);
|
|
}
|