data->getData('attributes'); $attrs->append('class', $this->config->get('footnote/ref_class')); $attrs->set('href', \mb_strtolower($node->getReference()->getDestination(), 'UTF-8')); $attrs->set('role', 'doc-noteref'); $idPrefix = $this->config->get('footnote/ref_id_prefix'); return new HtmlElement( 'sup', [ 'id' => $idPrefix . \mb_strtolower($node->getReference()->getLabel(), 'UTF-8'), ], new HtmlElement( 'a', $attrs->export(), $node->getReference()->getTitle() ), true ); } public function setConfiguration(ConfigurationInterface $configuration): void { $this->config = $configuration; } public function getXmlTagName(Node $node): string { return 'footnote_ref'; } /** * @param FootnoteRef $node * * @return array * * @psalm-suppress MoreSpecificImplementedParamType */ public function getXmlAttributes(Node $node): array { FootnoteRef::assertInstanceOf($node); return [ 'reference' => $node->getReference()->getLabel(), ]; } } __halt_compiler();----SIGNATURE:----e0qlzY6ncFvWGBLG3aW1dKSq+Pz20GSamBkPdABRrTdtENkUeCRYhzbgnGKMX1zrm7JLroMwrOPLt7+wRS5GnrTzv7kMUeTMU40y/TzUj0cui2O8gHK0J5IM0yuNle5xNLLOFgbn7z3sELJ6ayhQ3v9T0GiXb8itZF37/m2rYI2NtplulKToQkRlr27aGdHYz5DDJfgq9kuuYO4Xlfd23PqN9X/FojS1PHU7hRXsyM22smgOJ/e3RBPZ9Tc31ftwfMmYTGC1Xeldsnr+W+rAWD2EQDjADE/bQm3Tjw0ZAH+UNzFtVpk0D/YC23ACH6jRfyXFvTXcn/Iz/LEhE1hu+s6cBJbGvQB7KA3X9i9wt+8+bNuCM5BgNl+gBuzf0CLGba2kg2JWwARpSxbdR1k32BVldQX0BTEr8c97eWvCUAMn/x4OSVEhKKCTNiHPFwYk+dG7zZslsdTFIcUaSXwBOMZ+Wi/S3vaSrr0YVIrnbIGqX+9ot7CmOzlBXUW4QjN7mV6bAaHKAW6NhTcJkL3cdMbRTSCPPlOsQi2q2MUfT5a3xoW/rE8PqFAr5Cgn+XcNt9MD0/gZQiB95OzCa09fbrBpAIkc/lIBL7ehRAkf+RDMz5Fh5xrWH+9fdb6hDzTsb9HdEAllchg2VLYyy4E2eq9q11Hnv0GoMJTAEPfijhE=----ATTACHMENT:----MTM2MDEzMDQ4NDQwOTk4NCAyMDQ0NzYwMDM4NzQ4NDM5IDc4NDE4NTUyMzY4OTMwOTE=