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

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

        $production = $action->getComponent('indirectComplement')->getData();
        $resource = $action->getComponent('directComplement')->getData();
        $event->setLink($this->url_generator->generate('bkstg_resource_read', [
            'id' => $resource->getId(),
            'production_slug' => $production->getSlug(),
        ]));
    }