<?php
/**
 *
 * @author：llbjj
 * @DateTime：2024/5/28 23:06
 * @Description：
 *
 */

namespace Application\Factory;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Psr\Container\ContainerInterface;

class ListenerFactory implements FactoryInterface
{

    /**
     * @inheritDoc
     */
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        // TODO: Implement __invoke() method.

        return new $requestedName($container);
    }
}