/**
  * Constructor
  *
  * @param array       $allow
  * @param null|string $message
  * @param \Exception  $previous
  * @param int         $code
  */
 public function __construct(array $allow, $message = null, \Exception $previous = null, $code = 0)
 {
     $headers = ['Allow' => strtoupper(implode(', ', $allow))];
     parent::__construct(405, $message, $previous, $headers, $code);
 }
 /**
  * Constructor
  *
  * @param null|string $message
  * @param \Exception  $previous
  * @param int         $code
  */
 public function __construct($message = null, \Exception $previous = null, $code = 0)
 {
     parent::__construct(404, $message, $previous, [], $code);
 }