24 lines
410 B
PHP
24 lines
410 B
PHP
<?php
|
|
|
|
namespace NoccyLabs\Spinner\Style;
|
|
|
|
class BrailleDotsStyle implements StyleInterface
|
|
{
|
|
public function getFrames(): array
|
|
{
|
|
return [
|
|
mb_chr(0x2839),
|
|
mb_chr(0x283c),
|
|
mb_chr(0x2836),
|
|
mb_chr(0x2827),
|
|
mb_chr(0x280f),
|
|
mb_chr(0x281b),
|
|
];
|
|
}
|
|
|
|
public function getWidth(): int
|
|
{
|
|
return 1;
|
|
}
|
|
}
|