Guides

AbbreviationTextRole extends BaseTextRole
in package
uses ReportsViolations

FinalYes

Role to create an abbreviation.

Example:

:abbreviation:`term (some term definition)`

Table of Contents

Properties

$class  : string
$name  : string
$logger  : LoggerInterface|ViolationReporter

Methods

__construct()  : mixed
getAliases()  : string[]
getClass()  : string
getName()  : string
processNode()  : AbbreviationInlineNode
setClass()  : void
withName()  : BaseTextRole
reportViolation()  : void

Properties

Methods

getClass()

public getClass() : string
Return values
string

getName()

public getName() : string
Return values
string

setClass()

public setClass(string $class) : void
Parameters
$class : string
On this page

Search results