src/Resource/EventListener/GenerateSymfonyRouteHrefListener.php
private function fixForActions(ActionedResourceInterface $resource): void
    {
        $actions = $resource->getActions();

        foreach ($actions as $action) {
            $routeHref = $action->getHref();
            $href = $this->fixHref($routeHref);
            $action->setHref($href);
        }
    }
private function fixForActions(ActionedResourceInterface $resource): void
    {
        $actions = $resource->getActions();

        foreach ($actions as $action) {
            $routeHref = $action->getHref();
            $href = $this->fixHref($routeHref);
            $action->setHref($href);
        }
    }
private function fixForActions ( ActionedResourceInterface $ resource ) : void { $ actions = $ resource -> getActions ( ) ; foreach ( $ actions as $ action ) { $ routeHref = $ action -> getHref ( ) ; $ href = $ this -> fixHref ( $ routeHref ) ; $ action -> setHref ( $ href ) ; } }
Fix links for actions

@param ActionedResourceInterface $resource
Fix links for actions