Beispiel #1
0
 public function __construct(array $allowedRequestMethods)
 {
     parent::__construct();
     $this->allowedRequestMethods = $allowedRequestMethods;
 }
 public function __construct(string $requestMethod)
 {
     parent::__construct('text/plain', HttpCode::NOT_IMPLEMENTED);
     $this->requestMethod = $requestMethod;
 }