for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SvImages\Transformer\Factory;
use Psr\Container\ContainerInterface;
use SvImages\Transformer\Crop;
/**
* @author Vytautas Stankus <[email protected]>
* @license MIT
*/
class CropTransformerFactory
{
public function __invoke(ContainerInterface $container)
/** @var \Intervention\Image\ImageManager $manager */
$manager = $container->get(\SvImages\ImageManager\InterventionImageManager::class);
return new Crop($manager);
}