autowp/image

View on GitHub
src/View/Helper/ImageStorage.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?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;
    }
}