Skip to content
Permalink
3.12.x
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?php
declare(strict_types=1);
namespace Mezzio;
use Psr\Http\Message\ServerRequestInterface;
/**
* Legacy service name for the default delegate referenced in version 2.
* Should resolve to the Handler\NotFoundHandler class.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const DEFAULT_DELEGATE = __NAMESPACE__ . '\Delegate\DefaultDelegate';
/**
* Legacy service name for the DispatchMiddleware referenced in version 2.
* Should resolve to the Mezzio\Router\Middleware\DispatchMiddleware
* service.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const DISPATCH_MIDDLEWARE = __NAMESPACE__ . '\Middleware\DispatchMiddleware';
/**
* Legacy service name for the ImplicitHeadMiddleware referenced in version 2.
* Should resolve to the Mezzio\Router\Middleware\ImplicitHeadMiddleware
* service.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const IMPLICIT_HEAD_MIDDLEWARE = __NAMESPACE__ . '\Middleware\ImplicitHeadMiddleware';
/**
* Legacy service name for the ImplicitOptionsMiddleware referenced in version 2.
* Should resolve to the Mezzio\Router\Middleware\ImplicitOptionsMiddleware
* service.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const IMPLICIT_OPTIONS_MIDDLEWARE = __NAMESPACE__ . '\Middleware\ImplicitOptionsMiddleware';
/**
* Legacy/transitional service name for the NotFoundMiddleware introduced in
* 3.0.0alpha2. Should resolve to the Handler\NotFoundHandler class.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const NOT_FOUND_MIDDLEWARE = __NAMESPACE__ . '\Middleware\NotFoundMiddleware';
/**
* Legacy service name for the RouteMiddleware referenced in version 2.
* Should resolve to the Mezzio\Router\Middleware\PathBasedRoutingMiddleware
* service.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const ROUTE_MIDDLEWARE = __NAMESPACE__ . '\Middleware\RouteMiddleware';
/**
* Legacy/transitional service name for the ServerRequestFactory virtual
* service introduced in 3.0.0alpha6. Should resolve to the
* Psr\Http\Message\ServerRequestInterface service.
*
* @deprecated To remove in version 4.0.0.
*
* @var string
*/
const SERVER_REQUEST_FACTORY = ServerRequestInterface::class;