1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace Symfony\Component\Routing; 13 14/** 15 * @api 16 */ 17interface RequestContextAwareInterface 18{ 19 /** 20 * Sets the request context. 21 * 22 * @param RequestContext $context The context 23 * 24 * @api 25 */ 26 public function setContext(RequestContext $context); 27 28 /** 29 * Gets the request context. 30 * 31 * @return RequestContext The context 32 * 33 * @api 34 */ 35 public function getContext(); 36} 37