updated packages
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */
|
||||
/** @var \Symfony\Component\Routing\RouteCollection $collection */
|
||||
$collection = $loader->import('validpattern.php');
|
||||
$collection->addDefaults(array(
|
||||
$collection->addDefaults([
|
||||
'foo' => 123,
|
||||
));
|
||||
$collection->addRequirements(array(
|
||||
]);
|
||||
$collection->addRequirements([
|
||||
'foo' => '\d+',
|
||||
));
|
||||
$collection->addOptions(array(
|
||||
]);
|
||||
$collection->addOptions([
|
||||
'foo' => 'bar',
|
||||
));
|
||||
]);
|
||||
$collection->setCondition('context.getMethod() == "POST"');
|
||||
$collection->addPrefix('/prefix');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user