Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
17 | 18 | public static function create(array $config = [], bool $setAsDefaultConversionType = true): EmojiConverterInterface |
|
18 | { |
||
19 | 18 | $environment = Environment::create($config); |
|
20 | 18 | $environment->addExtension(new TwemojiExtension($setAsDefaultConversionType)); |
|
21 | |||
22 | 18 | return new self($environment); |
|
23 | } |
||
25 |