<?php

declare(strict_types=1);

namespace Mezzio\Container;

use Laminas\Stratigility\MiddlewarePipe;
use Laminas\Stratigility\MiddlewarePipeInterface;
use Psr\Container\ContainerInterface;

/** @final */
class ApplicationPipelineFactory
{
    public function __invoke(ContainerInterface $container): MiddlewarePipeInterface
    {
        return new MiddlewarePipe();
    }
}
