src/View/Helper/ImageStorage.php
<?php
declare(strict_types=1);
namespace Autowp\Image\View\Helper;
use Autowp\Image;
use Laminas\View\Helper\AbstractHelper;
class ImageStorage extends AbstractHelper
{
private Image\Storage $imageStorage;
public function __construct(Image\Storage $imageStorage)
{
$this->imageStorage = $imageStorage;
}
public function __invoke(): Image\Storage
{
return $this->imageStorage;
}
}