api/symfony/Component/Mime/HtmlToTextConverter/LeagueHtmlToMarkdownConverter.yaml
2024-09-26 02:03:21 -07:00

33 lines
835 B
YAML

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