PHP Class League\CommonMark\Inline\Parser\EmphasisParser

Inheritance: extends League\CommonMark\Inline\Parser\AbstractInlineParser, implements League\CommonMark\EnvironmentAwareInterface
Afficher le fichier Open project: colinodell/commonmark-php

Protected Properties

Свойство Type Description
$config

Méthodes publiques

Méthode Description
__construct ( array $newConfig = [] )
getCharacters ( ) : string[]
parse ( InlineParserContext $inlineContext ) : boolean
setEnvironment ( Environment $environment )

Private Methods

Méthode Description
determineCanOpenOrClose ( string $charBefore, string $charAfter, string $character ) : bool[]

Method Details

__construct() public méthode

public __construct ( array $newConfig = [] )
$newConfig array

getCharacters() public méthode

public getCharacters ( ) : string[]
Résultat string[]

parse() public méthode

public parse ( InlineParserContext $inlineContext ) : boolean
$inlineContext League\CommonMark\InlineParserContext
Résultat boolean

setEnvironment() public méthode

public setEnvironment ( Environment $environment )
$environment League\CommonMark\Environment

Property Details

$config protected_oe property

protected $config