PHP Class Unicodeveloper\Emoji\Emoji

Afficher le fichier Open project: unicodeveloper/laravel-emoji

Méthodes publiques

Méthode Description
__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

Private Methods

Méthode Description
getEmojis ( ) : array Get the Emojis from emoji.php

Method Details

__call() public méthode

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

findByAlias() public méthode

Get the emoji by passing the commonly used emoji name
public findByAlias ( string $emojiName = null ) : string
$emojiName string
Résultat string

findByName() public méthode

Get the emoji by passing the commonly used emoji name Alias for findByAlias
public findByName ( string $emojiName = null ) : string
$emojiName string
Résultat string

findByUnicode() public méthode

Get the emoji name by passing the unicode value
public findByUnicode ( string $unicode = null ) : string
$unicode string
Résultat string