rector/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/RoutePropertyClass.php

22 lines
406 B
PHP

<?php
declare(strict_types=1);
namespace Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfoPrinter\Source;
use Symfony\Component\Routing\Annotation\Route;
class RoutePropertyClass
{
/**
* @Route(
* "/{arg1}/{arg2}",
* defaults={"arg1"=null, "arg2"=""},
* requirements={"arg1"="\d+", "arg2"=".*"}
* )
*/
public function nothing(): void
{
}
}