1 | <?php |
||
17 | class EpicEmoji |
||
18 | { |
||
19 | /** |
||
20 | * The array of created devices. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $devices = []; |
||
25 | |||
26 | /** |
||
27 | * The initial devices. |
||
28 | * |
||
29 | * @var array |
||
30 | */ |
||
31 | protected $initialUnicode = [ |
||
32 | 'unified' => 'Unified', |
||
33 | 'softbank' => 'Softbank', |
||
34 | 'kddi' => 'Kddi', |
||
35 | 'google' => 'Google', |
||
36 | 'docomo' => 'Docomo', |
||
37 | ]; |
||
38 | |||
39 | /** |
||
40 | * @param string $name |
||
41 | * @param string $arguments |
||
42 | * |
||
43 | * @return mixed |
||
44 | */ |
||
45 | 16 | public function __call($name, $arguments) |
|
54 | |||
55 | /** |
||
56 | * Create a new devices instance. |
||
57 | * |
||
58 | * @param string $device |
||
59 | * @param string $text |
||
60 | * |
||
61 | * @return mixed |
||
62 | */ |
||
63 | 16 | protected function createDevice($device, $text) |
|
74 | |||
75 | /** |
||
76 | * Build a device instance. |
||
77 | * |
||
78 | * @param string $device |
||
79 | * @param string $text |
||
80 | * |
||
81 | * @return AbstractDevice |
||
82 | */ |
||
83 | 15 | protected function buildDevice($device, $text) |
|
87 | } |
||
88 |