Guides

CodeExtension extends AbstractExtension
in package

FinalYes

Table of Contents

Properties

$highlighter  : Highlighter

Methods

__construct()  : mixed
getFilters()  : array<string|int, mixed>
{@inheritDoc}
highlight()  : string

Properties

Methods

getFilters()

{@inheritDoc}

public getFilters() : array<string|int, mixed>
Return values
array<string|int, mixed>

highlight()

public highlight(array<string, mixed> $context, string $code[, string $language = 'text' ]) : string
Parameters
$context : array<string, mixed>
$code : string
$language : string = 'text'
Return values
string

        
On this page

Search results