Security update for Core, with self-updated composer
[yaffs-website] / vendor / zendframework / zend-stdlib / src / DispatchableInterface.php
1 <?php
2 /**
3  * Zend Framework (http://framework.zend.com/)
4  *
5  * @link      http://github.com/zendframework/zf2 for the canonical source repository
6  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7  * @license   http://framework.zend.com/license/new-bsd New BSD License
8  */
9
10 namespace Zend\Stdlib;
11
12 interface DispatchableInterface
13 {
14     /**
15      * Dispatch a request
16      *
17      * @param RequestInterface $request
18      * @param null|ResponseInterface $response
19      * @return Response|mixed
20      */
21     public function dispatch(RequestInterface $request, ResponseInterface $response = null);
22 }