22 lines
311 B
PHP
22 lines
311 B
PHP
<?php
|
|
|
|
namespace NoccyLabs\Spinner\Style;
|
|
|
|
class SpinningBarStyle implements StyleInterface
|
|
{
|
|
public function getFrames(): array
|
|
{
|
|
return [
|
|
"/",
|
|
"-",
|
|
"\\",
|
|
"|",
|
|
];
|
|
}
|
|
|
|
public function getWidth(): int
|
|
{
|
|
return 1;
|
|
}
|
|
}
|