for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Piface\Router\Exception;
use Throwable;
class MethodNotAllowedException extends \RuntimeException
{
public function __construct(array $allow, string $path, int $code = 0, Throwable $previous = null)
$message = sprintf("No route found for '%s'. Method not allowed (Allow: %s)", $path, implode(',', $allow));
parent::__construct($message, $code, $previous);
}