platform/api/symfony/Component/Mime/HtmlToTextConverter/LeagueHtmlToMarkdownConverter.yaml

34 lines
835 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: LeagueHtmlToMarkdownConverter
class_comment: '# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: HtmlConverter
type: class
source: League\HTMLToMarkdown\HtmlConverter
- name: HtmlConverterInterface
type: class
source: League\HTMLToMarkdown\HtmlConverterInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: converter
default: "new HtmlConverter([\n 'hard_break'"
- name: '''strip_tags'''
default: '> true'
- name: '''remove_nodes'''
default: '> ''head style'''
- name: ']'
comment: null
- name: convert
visibility: public
parameters:
- name: html
- name: charset
comment: null
traits:
- League\HTMLToMarkdown\HtmlConverter
- League\HTMLToMarkdown\HtmlConverterInterface
interfaces:
- HtmlToTextConverterInterface