20 lines
390 B
PHP
20 lines
390 B
PHP
<?php
|
|
|
|
namespace WellRESTed\Dispatching;
|
|
|
|
interface DispatchProviderInterface
|
|
{
|
|
/**
|
|
* @return DispatcherInterface
|
|
*/
|
|
public function getDispatcher();
|
|
|
|
/**
|
|
* Return a DispatchStackInterface for a list array of middleware.
|
|
*
|
|
* @param mixed[] $middlewares
|
|
* @return DispatchStackInterface
|
|
*/
|
|
public function getDispatchStack($middlewares);
|
|
}
|