/opt/alt/php55/usr/share/pear/Symfony/Component/HttpFoundation
NameSizeModeActions
File/-0755rm
Resources/-0755rm
Session/-0755rm
AcceptHeader.php36100644editdlrm
AcceptHeaderItem.php49150644editdlrm
ApacheRequest.php9300644editdlrm
autoloader.php3440644editdlrm
BinaryFileResponse.php96550644editdlrm
Cookie.php50650644editdlrm
ExpressionRequestMatcher.php13590644editdlrm
FileBag.php40330644editdlrm
HeaderBag.php81410644editdlrm
IpUtils.php35140644editdlrm
JsonResponse.php46330644editdlrm
ParameterBag.php80990644editdlrm
RedirectResponse.php26900644editdlrm
Request.php559080644editdlrm
RequestMatcher.php38010644editdlrm
RequestMatcherInterface.php7910644editdlrm
RequestStack.php23730644editdlrm
Response.php358070644editdlrm
ResponseHeaderBag.php88490644editdlrm
ServerBag.php37040644editdlrm
StreamedResponse.php32140644editdlrm
Edit: /opt/alt/php55/usr/share/pear/Symfony/Component/HttpFoundation/ExpressionRequestMatcher.php (1359B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; /** * ExpressionRequestMatcher uses an expression to match a Request. * * @author Fabien Potencier */ class ExpressionRequestMatcher extends RequestMatcher { private $language; private $expression; public function setExpression(ExpressionLanguage $language, $expression) { $this->language = $language; $this->expression = $expression; } public function matches(Request $request) { if (!$this->language) { throw new \LogicException('Unable to match the request as the expression language is not available.'); } return $this->language->evaluate($this->expression, array( 'request' => $request, 'method' => $request->getMethod(), 'path' => rawurldecode($request->getPathInfo()), 'host' => $request->getHost(), 'ip' => $request->getClientIp(), 'attributes' => $request->attributes->all(), )) && parent::matches($request); } }