public function RouteTest::getValidParameters in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Annotation/RouteTest.php \Symfony\Component\Routing\Tests\Annotation\RouteTest::getValidParameters()
File
- vendor/
symfony/ routing/ Tests/ Annotation/ RouteTest.php, line 35
Class
Namespace
Symfony\Component\Routing\Tests\AnnotationCode
public function getValidParameters() {
return array(
array(
'value',
'/Blog',
'getPath',
),
array(
'requirements',
array(
'locale' => 'en',
),
'getRequirements',
),
array(
'options',
array(
'compiler_class' => 'RouteCompiler',
),
'getOptions',
),
array(
'name',
'blog_index',
'getName',
),
array(
'defaults',
array(
'_controller' => 'MyBlogBundle:Blog:index',
),
'getDefaults',
),
array(
'schemes',
array(
'https',
),
'getSchemes',
),
array(
'methods',
array(
'GET',
'POST',
),
'getMethods',
),
array(
'host',
'{locale}.example.com',
'getHost',
),
array(
'condition',
'context.getMethod() == "GET"',
'getCondition',
),
);
}