/home/techb158/exp.abdallabala.com/vendor/symfony/http-foundation
NameSizeModeActions
Exception/-0755rm
File/-0755rm
Session/-0755rm
Test/-0755rm
AcceptHeader.php37610644editdlrm
AcceptHeaderItem.php36240644editdlrm
ApacheRequest.php11520644editdlrm
BinaryFileResponse.php123980644editdlrm
CHANGELOG.md124720644editdlrm
composer.json9550644editdlrm
Cookie.php91160644editdlrm
ExpressionRequestMatcher.php13540644editdlrm
FileBag.php39430644editdlrm
HeaderBag.php83950644editdlrm
HeaderUtils.php79270644editdlrm
IpUtils.php57100644editdlrm
JsonResponse.php74000644editdlrm
LICENSE10650644editdlrm
ParameterBag.php57610644editdlrm
README.md5310644editdlrm
RedirectResponse.php32270644editdlrm
Request.php656880644editdlrm
RequestMatcher.php47520644editdlrm
RequestMatcherInterface.php6870644editdlrm
RequestStack.php23690644editdlrm
Response.php362790644editdlrm
ResponseHeaderBag.php85740644editdlrm
ServerBag.php40010644editdlrm
StreamedResponse.php32550644editdlrm
UrlHelper.php31060644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/symfony/http-foundation/ExpressionRequestMatcher.php (1354B)
* * 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, [ 'request' => $request, 'method' => $request->getMethod(), 'path' => rawurldecode($request->getPathInfo()), 'host' => $request->getHost(), 'ip' => $request->getClientIp(), 'attributes' => $request->attributes->all(), ]) && parent::matches($request); } }