2022-09-21 23:49:58 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace NoccyLabs\Spinner\Style;
|
|
|
|
|
|
|
|
interface StyleInterface
|
|
|
|
{
|
2024-03-07 00:06:40 +00:00
|
|
|
/**
|
|
|
|
* Returns an array of frames used to render the spinner
|
|
|
|
*/
|
2022-09-21 23:49:58 +00:00
|
|
|
public function getFrames(): array;
|
2024-03-07 00:06:40 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the width of this spinner in characters
|
|
|
|
*/
|
|
|
|
public function getWidth(): int;
|
2022-09-21 23:49:58 +00:00
|
|
|
}
|