| 1 | <?php |
||
| 9 | class AnimatedGif |
||
| 10 | { |
||
| 11 | /** @var AnimGif */ |
||
| 12 | protected $animation; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param Config $config |
||
| 16 | * @param State[] $states |
||
| 17 | */ |
||
| 18 | 9 | protected function __construct(Config $config, array $states) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param Config $config |
||
| 32 | * @param State[] $states |
||
| 33 | * |
||
| 34 | * @return AnimatedGif |
||
| 35 | */ |
||
| 36 | 9 | public static function createFromStates(Config $config, array $states) |
|
| 40 | |||
| 41 | 3 | public function get(): AnimGif |
|
| 45 | |||
| 46 | 6 | public function save(string $filename) |
|
| 50 | } |
||
| 51 |