This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Routing/RequestContextAwareInterface.php

37 lines
669 B
PHP
Raw Normal View History

<?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\Routing;
2011-06-14 14:35:32 +01:00
/**
* @api
*/
interface RequestContextAwareInterface
{
/**
* Sets the request context.
*
* @param RequestContext $context The context
2011-06-14 14:35:32 +01:00
*
* @api
*/
2012-07-09 13:50:58 +01:00
public function setContext(RequestContext $context);
/**
* Gets the request context.
*
* @return RequestContext The context
*
* @api
*/
2012-07-09 13:50:58 +01:00
public function getContext();
}