src/Framework/Event/MiddlewareEvent.php
<?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;
}
}