51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
|
name: AttributeSanitizerInterface
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: HtmlSanitizerConfig
|
||
|
type: class
|
||
|
source: Symfony\Component\HtmlSanitizer\HtmlSanitizerConfig
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: getSupportedElements
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Implements attribute-specific sanitization logic.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Titouan Galopin <galopintitouan@gmail.com>
|
||
|
|
||
|
# */
|
||
|
|
||
|
# interface AttributeSanitizerInterface
|
||
|
|
||
|
# {
|
||
|
|
||
|
# /**
|
||
|
|
||
|
# * Returns the list of element names supported, or null to support all elements.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return list<string>|null'
|
||
|
- name: getSupportedAttributes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Returns the list of attributes names supported, or null to support
|
||
|
all attributes.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return list<string>|null'
|
||
|
- name: sanitizeAttribute
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: element
|
||
|
- name: attribute
|
||
|
- name: value
|
||
|
- name: config
|
||
|
comment: '# * Returns the sanitized value of a given attribute for the given element.'
|
||
|
traits:
|
||
|
- Symfony\Component\HtmlSanitizer\HtmlSanitizerConfig
|
||
|
interfaces: []
|