34 lines
835 B
YAML
34 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
|