QuoteTrait
Adds the block quote elements
Table of Contents
Methods
- consumeQuote() : mixed
- Consume lines for a blockquote element
- identifyQuote() : mixed
- identify a line as the beginning of a block quote.
- parseBlocks() : mixed
- renderAbsy() : mixed
- renderQuote() : mixed
- Renders a blockquote
Methods
consumeQuote()
Consume lines for a blockquote element
protected
consumeQuote(mixed $lines, mixed $current) : mixed
Parameters
- $lines : mixed
- $current : mixed
identifyQuote()
identify a line as the beginning of a block quote.
protected
identifyQuote(mixed $line) : mixed
Parameters
- $line : mixed
parseBlocks()
protected
abstract parseBlocks(mixed $lines) : mixed
Parameters
- $lines : mixed
renderAbsy()
protected
abstract renderAbsy(mixed $absy) : mixed
Parameters
- $absy : mixed
renderQuote()
Renders a blockquote
protected
renderQuote(mixed $block) : mixed
Parameters
- $block : mixed