Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • Route
  • Overview
  • Namespace
  • Class
  • Tree

Class Route

Annotation class for @Route().

Namespace: Symfony\Component\Routing\Annotation
Author: Fabien Potencier <fabien@symfony.com>
Annotation
Target({"CLASS",: "METHOD"})
Located at Annotation/Route.php
Methods summary
public
# __construct( array $data )

Constructor.

Constructor.

Parameters

$data
array
$data An array of key/value parameters

Throws

BadMethodCallException
public
# setPath( mixed $path )
public
# getPath( )
public
# setHost( mixed $pattern )
public
# getHost( )
public
# setName( mixed $name )
public
# getName( )
public
# setRequirements( mixed $requirements )
public
# getRequirements( )
public
# setOptions( mixed $options )
public
# getOptions( )
public
# setDefaults( mixed $defaults )
public
# getDefaults( )
public
# setSchemes( mixed $schemes )
public
# getSchemes( )
public
# setMethods( mixed $methods )
public
# getMethods( )
public
# setCondition( mixed $condition )
public
# getCondition( )
Ratchet API documentation generated by ApiGen 2.8.0