Interfaces, Classes and Traits
- InlineParserInterface
- EnvironmentAwareInterface
Table of Contents
-
$environment
: EnvironmentInterface
-
getCharacters()
: array<string|int, string>
-
parse()
: bool
-
setEnvironment()
: void
-
createInline()
: AbstractWebResource
-
tryParseInlineLinkAndTitle()
: array<string, string>|false
-
tryParseLink()
: array<string, string>|false
-
tryParseReference()
: ReferenceInterface|null
getCharacters()
public
getCharacters() : array<string|int, string>
Return values
array<string|int, string>
—
parse()
public
parse(InlineParserContext $inlineContext) : bool
Parameters
-
$inlineContext
: InlineParserContext
-
Return values
bool
—
setEnvironment()
public
setEnvironment(EnvironmentInterface $environment) : void
Parameters
-
$environment
: EnvironmentInterface
-
Return values
void
—
createInline()
private
createInline(string $url, string $title, bool $isImage) : AbstractWebResource
Parameters
-
$url
: string
-
-
$title
: string
-
-
$isImage
: bool
-
Return values
AbstractWebResource
—
tryParseInlineLinkAndTitle()
private
tryParseInlineLinkAndTitle(Cursor $cursor) : array<string, string>|false
Parameters
-
$cursor
: Cursor
-
Return values
array<string, string>|false
—
tryParseLink()
private
tryParseLink(Cursor $cursor, ReferenceMapInterface $referenceMap, DelimiterInterface $opener, int $startPos) : array<string, string>|false
Parameters
-
$cursor
: Cursor
-
-
$referenceMap
: ReferenceMapInterface
-
-
$opener
: DelimiterInterface
-
-
$startPos
: int
-
Return values
array<string, string>|false
—
tryParseReference()
private
tryParseReference(Cursor $cursor, ReferenceMapInterface $referenceMap, DelimiterInterface $opener, int $startPos) : ReferenceInterface|null
Parameters
-
$cursor
: Cursor
-
-
$referenceMap
: ReferenceMapInterface
-
-
$opener
: DelimiterInterface
-
-
$startPos
: int
-
Return values
ReferenceInterface|null
—