generated from Potter/Template
add unset method
This commit is contained in:
@@ -25,6 +25,11 @@ trait HttpServerAwareTrait
|
||||
return $this->set(self::HTTP_SERVER, $httpServer);
|
||||
}
|
||||
|
||||
final protected function unsetHttpServer(): null
|
||||
{
|
||||
return $this->unset(self::HTTP_SERVER);
|
||||
}
|
||||
|
||||
final public function withHttpServer(HttpServer $httpServer): static
|
||||
{
|
||||
return $this->with(self::HTTP_SERVER, $httpServer);
|
||||
|
||||
Reference in New Issue
Block a user