PHP Класс Unicodeveloper\Emoji\Emoji

Показать файл Открыть проект

Открытые методы

Метод Описание
__call ( string $method, array $parameters ) Ensure that a proper exception is thrown for methods that do not exist
findByAlias ( string $emojiName = null ) : string Get the emoji by passing the commonly used emoji name
findByName ( string $emojiName = null ) : string Get the emoji by passing the commonly used emoji name Alias for findByAlias
findByUnicode ( string $unicode = null ) : string Get the emoji name by passing the unicode value

Приватные методы

Метод Описание
getEmojis ( ) : array Get the Emojis from emoji.php

Описание методов

__call() публичный Метод

Ensure that a proper exception is thrown for methods that do not exist
public __call ( string $method, array $parameters )
$method string
$parameters array

findByAlias() публичный Метод

Get the emoji by passing the commonly used emoji name
public findByAlias ( string $emojiName = null ) : string
$emojiName string
Результат string

findByName() публичный Метод

Get the emoji by passing the commonly used emoji name Alias for findByAlias
public findByName ( string $emojiName = null ) : string
$emojiName string
Результат string

findByUnicode() публичный Метод

Get the emoji name by passing the unicode value
public findByUnicode ( string $unicode = null ) : string
$unicode string
Результат string