update doc about UrlGenerator attribute
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
cef8323fe6
commit
a709d15624
|
@ -94,9 +94,7 @@ use App\UrlGenerator\MyEntityGenerator;
|
||||||
|
|
||||||
class MyController extends PageController
|
class MyController extends PageController
|
||||||
{
|
{
|
||||||
/**
|
#[UrlGenerator(service: MyEntityGenerator::class, method: 'myActionGenerator', options=[])]
|
||||||
* @UrlGenerator(service=MyEntityGenerator::class, method="myActionGenerator", options={})
|
|
||||||
*/
|
|
||||||
public function myAction(MyEntity $entity)
|
public function myAction(MyEntity $entity)
|
||||||
{
|
{
|
||||||
// do stuff
|
// do stuff
|
||||||
|
|
Loading…
Reference in a new issue