tastphp/framework

View on GitHub
src/Framework/Event/MiddlewareEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace TastPHP\Framework\Event;

use Symfony\Component\EventDispatcher\Event;

class MiddlewareEvent extends Event
{
    const NAME = AppEvent::MIDDLEWARE;

    private static $container = null;

    public function __construct($container)
    {
        self::$container = $container;
    }

    public function setParameters($container)
    {
        self::$container = $container;
    }

    public function getParameters()
    {
        return self::$container;
    }
}