| 1 | <?php |
||
| 15 | class Base extends ClosedElement implements MetadataContent |
||
| 16 | { |
||
| 17 | 4 | protected function getAllowedAttributes() |
|
| 18 | { |
||
| 19 | $baseAllowedAttributes = array( |
||
| 20 | 4 | '/^href$/i' => Attribute::URI, |
|
| 21 | '/^target$/i' => Attribute::CS_STRING |
||
| 22 | ); |
||
| 23 | |||
| 24 | 4 | return array_merge( |
|
| 25 | 4 | $baseAllowedAttributes, |
|
| 26 | 4 | parent::getAllowedAttributes() |
|
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | 4 | protected function removeInvalidSelf(LoggerInterface $logger) : bool |
|
| 48 | } |
||
| 49 |