[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/routing/Loader/Configurator/Traits/ -> RouteTrait.php (summary)

(no description)

File Size: 131 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions

  defaults()
  requirements()
  options()
  condition()
  host()
  schemes()
  methods()
  controller()

Functions
Functions that are not part of a class:

defaults(array $defaults)   X-Ref
Adds defaults.

return: $this

requirements(array $requirements)   X-Ref
Adds requirements.

return: $this

options(array $options)   X-Ref
Adds options.

return: $this

condition($condition)   X-Ref
Sets the condition.

param: string $condition
return: $this

host($pattern)   X-Ref
Sets the pattern for the host.

param: string $pattern
return: $this

schemes(array $schemes)   X-Ref
Sets the schemes (e.g. 'https') this route is restricted to.
So an empty array means that any scheme is allowed.

param: string[] $schemes
return: $this

methods(array $methods)   X-Ref
Sets the HTTP methods (e.g. 'POST') this route is restricted to.
So an empty array means that any method is allowed.

param: string[] $methods
return: $this

controller($controller)   X-Ref
Adds the "_controller" entry to defaults.

param: callable|string $controller a callable or parseable pseudo-callable
return: $this



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1