Empty abstract class to be able to mock an object that both extends Route and implements RouteObjectInterface
Expanded class hierarchy of RouteObject
abstract class RouteObject extends Route implements RouteObjectInterface {
public function getRouteKey() {
return null;
}
}
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
private | property | ||
Route:: |
public | function | Adds defaults. | |
Route:: |
public | function | Adds options. | |
Route:: |
public | function | Adds requirements. | |
Route:: |
public | function | Compiles the route. | |
Route:: |
public | function | Gets a default value. | |
Route:: |
public | function | Returns the defaults. | 1 |
Route:: |
public | function | Returns the pattern for the host. | |
Route:: |
public | function | Returns the uppercased HTTP methods this route is restricted to. So an empty array means that any method is allowed. | |
Route:: |
public | function | Get an option value. | |
Route:: |
public | function | Returns the options. | |
Route:: |
public | function | Returns the pattern for the path. | |
Route:: |
public | function | Returns the pattern for the path. | |
Route:: |
public | function | Returns the requirement for the given key. | 1 |
Route:: |
public | function | Returns the requirements. | |
Route:: |
public | function | Returns the lowercased schemes this route is restricted to. So an empty array means that any scheme is allowed. | |
Route:: |
public | function | Checks if a default value is set for the given variable. | |
Route:: |
public | function | Checks if an option has been set | |
Route:: |
public | function | Checks if a requirement is set for the given key. | |
Route:: |
private | function | ||
Route:: |
public | function | ||
Route:: |
public | function | Sets a default value. | |
Route:: |
public | function | Sets the defaults. | |
Route:: |
public | function | Sets the pattern for the host. | |
Route:: |
public | function | Sets the HTTP methods (e.g. 'POST') this route is restricted to. So an empty array means that any method is allowed. | |
Route:: |
public | function | Sets an option value. | |
Route:: |
public | function | Sets the options. | |
Route:: |
public | function | Sets the pattern for the path. | |
Route:: |
public | function | Sets the pattern for the path. | |
Route:: |
public | function | Sets a requirement for the given key. | |
Route:: |
public | function | Sets the requirements. | |
Route:: |
public | function | Sets the schemes (e.g. 'https') this route is restricted to. So an empty array means that any scheme is allowed. | |
Route:: |
public | function | ||
Route:: |
public | function | Constructor. | |
RouteObject:: |
public | function |
Get the route key. Overrides RouteObjectInterface:: |
|
RouteObjectInterface:: |
constant | Field name for the content of the current route, if any. | ||
RouteObjectInterface:: |
constant | Field name for an explicit controller name to be used with this route | ||
RouteObjectInterface:: |
public | function | Get the content document this route entry stands for. If non-null, the ControllerClassMapper uses it to identify a controller and the content is passed to the controller. | 2 |
RouteObjectInterface:: |
constant | Field name that will hold the route name that was matched. | ||
RouteObjectInterface:: |
constant | Field name of the route object that was matched. | ||
RouteObjectInterface:: |
constant | Field name for an explicit template to be used with this route. i.e. CmfContentBundle:StaticContent:index.html.twig |