Emoji final class
Minn\Content\Emoji · public/minn/src/Minn/Content/Emoji.php · 68 lines
Emoji as the reference's mail and feeds carry them, from the list the reference ships (data/emoji.json, read from it): encode() turns each emoji character into its entity; staticize() turns each listed sequence in the text (outside tags, and outside code and pre) into a CDN image, longest sequence first. Text that already holds an entity is not encoded first; once anything matched, the variation selectors left over are dropped.
Uses 1
Constants and properties
| private | IGNORED = array ( 0 => 'code', 1 => 'pre', ) | |
| private | static ?array $list |
Public
Internals 2
Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.
Nothing matches.