mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
25 lines
431 B
PHP
25 lines
431 B
PHP
<?php
|
|
|
|
namespace Symfony\Component\Routing\Tests\Fixtures\AnnotationFixtures;
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
/**
|
|
* @Route(path={"en": "/the/path", "nl": "/het/pad"})
|
|
*/
|
|
class LocalizedMethodActionControllers
|
|
{
|
|
/**
|
|
* @Route(name="post", methods={"POST"})
|
|
*/
|
|
public function post()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @Route(name="put", methods={"PUT"})
|
|
*/
|
|
public function put()
|
|
{
|
|
}
|
|
}
|