* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Controller; use Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface; /** * Acts as a marker and a data holder for a Controller. * * Some methods in Symfony accept both a URI (as a string) or a controller as * an argument. In the latter case, instead of passing an array representing * the controller, you can use an instance of this class. * * @author Fabien Potencier * * @see FragmentRendererInterface */ class ControllerReference { public $controller; public $attributes = array(); public $query = array(); /** * @param string $controller The controller name * @param array $attributes An array of parameters to add to the Request attributes * @param array $query An array of parameters to add to the Request query string */ public function __construct($controller, array $attributes = array(), array $query = array()) { $this->controller = $controller; $this->attributes = $attributes; $this->query = $query; } } __halt_compiler();----SIGNATURE:----mZCR1IuFqFp592wEcFC5IeyED9iOOThNIUc9TUw7kHw/7+GNz3RFIsks8VdnFN4dxxUm9XcfjqJUSrQBOfOkzxWFPQ+iPG7viaYZkjigbcRUqq79wSCAtYoxbOC4NiMramplPIwaG8T88/W2US4K4WV4Sm4O+yHlp7wAsv+9cIRBskP6kI/ieI9Uj1bmg99P95NNfLmBvespC7/EI8p8hMrrinZ+HQdpCggZMTvdM3/futzBvDKQ/56xqNX7SZ1+cv5JYPD87qOhmpCS9tEo29xdHOKtnHLcFSFR/OXvvzspFozomMyHPWVy4BovIEc88d62VlII+wqf1MzlRiSoYEVxZNIhc+5EnuQIK/GoAtShxA815yRla250m8ZFkF3Hmuoj1fCEPHp1UlnPIIQkgvG/bYG2p4ydbe0sYAiP3avbbjMnrTChUT/QH8b02GVRxFTbAdabBjU1gSpVugPZlGAEuma4J4si8NoyPzCKBaRGnqlPje8N6tN40XbdGfRHwZVJjV7A9A7PYemWEpSgIVHkWTRHw+ci1Bpu5ONEHabTD7qwGC7/wTbuygk3kRrKM2r3SiN+v5RgAPqXziMdMtuyTsnSv6/NUGw55xYk0POAvqVqTihKJRkRpyHlSLtul729vh70Z0FL2tMsKcTPe0/mSbCxzsChKNrkLvaMjs4=----ATTACHMENT:----NDkxMjYyNzczOTczODMxIDg1NDY0NTUxMDE1NzYxNzQgMzQwODM0NTYxNzI3NTA3MQ==