PHP 트레잇 cebe\markdown\inline\LinkTrait

This trait conflicts with the HtmlTrait. If both are used together, you have to define a resolution, by defining the HtmlTrait::parseInlineHtml as private so it is not used directly: php use block\HtmlTrait { parseInlineHtml as private parseInlineHtml; } If the method exists it is called internally by this trait. Also make sure to reset references on prepare(): php protected function prepare() { reset references $this->references = []; }
파일 보기 프로젝트 열기: cebe/markdown

보호된 프로퍼티들

프로퍼티 타입 설명
$references a list of defined references in this document.

보호된 메소드들

메소드 설명
consumeReference ( $lines, $current ) Consume link references
identifyReference ( $line ) references
lookupReference ( $key )
parseImage ( $markdown ) Parses an image indicated by ![.
parseLink ( $markdown ) Parses a link indicated by [.
parseLinkOrImage ( $markdown )
parseLt ( $text ) Parses inline HTML.
renderEmail ( $block )
renderImage ( $block )
renderLink ( $block )
renderUrl ( $block )
replaceEscape ( $text ) : string Remove backslash from escaped characters

메소드 상세

consumeReference() 보호된 메소드

Consume link references
protected consumeReference ( $lines, $current )

identifyReference() 보호된 메소드

references
protected identifyReference ( $line )

lookupReference() 보호된 메소드

protected lookupReference ( $key )

parseImage() 보호된 메소드

Parses an image indicated by ![.
protected parseImage ( $markdown )

parseLinkOrImage() 보호된 메소드

protected parseLinkOrImage ( $markdown )

parseLt() 보호된 메소드

Parses inline HTML.
protected parseLt ( $text )

renderEmail() 보호된 메소드

protected renderEmail ( $block )

renderImage() 보호된 메소드

protected renderImage ( $block )

renderUrl() 보호된 메소드

protected renderUrl ( $block )

replaceEscape() 보호된 메소드

Remove backslash from escaped characters
protected replaceEscape ( $text ) : string
$text
리턴 string

프로퍼티 상세

$references 보호되어 있는 프로퍼티

a list of defined references in this document.
protected $references