ParamSpec::at(1), 'title' => ParamSpec::at(2), 'style' => ParamSpec::at(3)]; } /** * @return array */ public function props(Call $call, RenderContext $ctx): array { $props = [ 'id' => (string) $call->param('id'), 'title' => $this->citedTitle($call, (string) $call->param('id')), 'style' => (string) $call->param('style'), ]; if ($call->scope->channels !== []) { $props['channel'] = implode('_', $call->scope->channels); } return $props; } public function references(Call $call): array { return self::paragraphRef((string) $call->param('id')); } public function text(Call $call, RenderContext $ctx): string { return $this->citedTitle($call, (string) $call->param('id')); } }