for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AlecRabbit\Spinner\Core\Factory;
use AlecRabbit\Spinner\Core\Contract\IFrameCollection;
use AlecRabbit\Spinner\Core\Factory\Contract\IFrameCollectionFactory;
use AlecRabbit\Spinner\Core\FrameCollection;
use Traversable;
final class FrameCollectionFactory implements IFrameCollectionFactory
{
public function create(Traversable $frames): IFrameCollection
return new FrameCollection($frames);
}