public function RouteTest::getValidParameters

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Annotation/RouteTest.php, line 35

Class

RouteTest

Namespace

Symfony\Component\Routing\Tests\Annotation

Code

public function getValidParameters() {
  return array(
    array(
      'value',
      '/Blog',
      'getPattern',
    ),
    array(
      'requirements',
      array(
        '_method' => 'GET',
      ),
      'getRequirements',
    ),
    array(
      'options',
      array(
        'compiler_class' => 'RouteCompiler',
      ),
      'getOptions',
    ),
    array(
      'name',
      'blog_index',
      'getName',
    ),
    array(
      'defaults',
      array(
        '_controller' => 'MyBlogBundle:Blog:index',
      ),
      'getDefaults',
    ),
  );
}