for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Codeburner Framework.
*
* @author Alex Rohleder <[email protected]>
* @copyright 2016 Alex Rohleder
* @license http://opensource.org/licenses/MIT
*/
namespace Codeburner\Router\Exceptions;
* Exception thrown when none route is matched, but a similar
* route is found in another http method.
class MethodNotSupportedException extends BadRouteException
{
public function __construct($method) {
parent::__construct("The HTTP method '$method' is not supported by the route collector.");
}