2022-10-03 23:46:12 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace NoccyLabs\Spinner\Style;
|
|
|
|
|
|
|
|
class SpinningBarStyle implements StyleInterface
|
|
|
|
{
|
|
|
|
public function getFrames(): array
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
"/",
|
|
|
|
"-",
|
|
|
|
"\\",
|
|
|
|
"|",
|
|
|
|
];
|
|
|
|
}
|
2024-03-07 00:06:40 +00:00
|
|
|
|
|
|
|
public function getWidth(): int
|
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2022-10-03 23:46:12 +00:00
|
|
|
}
|