public function setInvitedLink(TimelineLinkEvent $event): void
    {
        $action = $event->getAction();

        if ('invited' != $action->getVerb()) {
            return;
        }

        $event = $action->getComponent('indirectComplement')->getData();
        $event->setLink($this->url_generator->generate('bkstg_event_read', [
            'id' => $event->getId(),
            'production_slug' => $event->getGroups()[0]->getSlug(),
        ]));
    }
public function setInvitedLink(TimelineLinkEvent $event): void
    {
        $action = $event->getAction();

        if ('invited' != $action->getVerb()) {
            return;
        }

        $event = $action->getComponent('indirectComplement')->getData();
        $event->setLink($this->url_generator->generate('bkstg_event_read', [
            'id' => $event->getId(),
            'production_slug' => $event->getGroups()[0]->getSlug(),
        ]));
    }
public function setInvitedLink ( TimelineLinkEvent $ event ) : void { $ action = $ event -> getAction ( ) ; if ( 'invited' != $ action -> getVerb ( ) ) { return ; } $ event = $ action -> getComponent ( 'indirectComplement' ) -> getData ( ) ; $ event -> setLink ( $ this -> url_generator -> generate ( 'bkstg_event_read' , [ 'id' => $ event -> getId ( ) , 'production_slug' => $ event -> getGroups ( ) [ 0 ] -> getSlug ( ) , ] ) ) ; }
Set the link for invited actions.

@param TimelineLinkEvent $event The timeline action event.

@return void
Set the link for invited actions .