public function Route::setMethods in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::setMethods()
- 8 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::setMethods()
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::setMethods()
File
- vendor/
symfony/ routing/ Annotation/ Route.php, line 163
Class
- Route
- Annotation class for @Route().
Namespace
Symfony\Component\Routing\AnnotationCode
public function setMethods($methods) {
$this->methods = is_array($methods) ? $methods : array(
$methods,
);
}