CharacterReference
class CharacterReference
Manage entity references.
This is a simple resolver for HTML5 character reference entitites. See \Masterminds\Html5\Entities for the list of supported entities.
Methods
static
string
lookupName(
string $name)
Given a name (e.g.
static
lookupDecimal($int)
Given a decimal number, return the UTF-8 character.
static
lookupHex($hexdec)
Given a hexidecimal number, return the UTF-8 character.
Details
at line line 30
static
string
lookupName(
string $name)
Given a name (e.g.
'amp'), lookup the UTF-8 character ('&')
at line line 48
static
lookupDecimal($int)
Given a decimal number, return the UTF-8 character.
at line line 59
static
lookupHex($hexdec)
Given a hexidecimal number, return the UTF-8 character.