X7ROOT File Manager
Current Path:
/opt/alt/php55/usr/share/pear/Symfony/Component/HttpFoundation
opt
/
alt
/
php55
/
usr
/
share
/
pear
/
Symfony
/
Component
/
HttpFoundation
/
??
..
??
AcceptHeader.php
(3.53 KB)
??
AcceptHeaderItem.php
(4.8 KB)
??
ApacheRequest.php
(930 B)
??
BinaryFileResponse.php
(9.43 KB)
??
Cookie.php
(4.95 KB)
??
ExpressionRequestMatcher.php
(1.33 KB)
??
File
??
FileBag.php
(3.94 KB)
??
HeaderBag.php
(7.95 KB)
??
IpUtils.php
(3.43 KB)
??
JsonResponse.php
(4.52 KB)
??
ParameterBag.php
(7.91 KB)
??
RedirectResponse.php
(2.63 KB)
??
Request.php
(54.6 KB)
??
RequestMatcher.php
(3.71 KB)
??
RequestMatcherInterface.php
(791 B)
??
RequestStack.php
(2.32 KB)
??
Resources
??
Response.php
(34.97 KB)
??
ResponseHeaderBag.php
(8.64 KB)
??
ServerBag.php
(3.62 KB)
??
Session
??
StreamedResponse.php
(3.14 KB)
??
autoloader.php
(344 B)
Editing: ExpressionRequestMatcher.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\HttpFoundation; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; /** * ExpressionRequestMatcher uses an expression to match a Request. * * @author Fabien Potencier <fabien@symfony.com> */ 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); } }
Upload File
Create Folder