Skip to content

Commit

Permalink
Request getBaseUrl()/isSecure()
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy0taka committed Jun 26, 2023
1 parent bb0d2a5 commit fe43ae2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/framework/Eccube/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public function getBasePath(): string
return $this->adaptee->getBasePath();
}

public function getBaseUrl(): string
{
return $this->adaptee->getBaseUrl();
}

public function setMethod(string $method): void
{
$this->adaptee->setMethod($method);
Expand All @@ -100,6 +105,11 @@ public function duplicate(array $query = null, array $request = null, array $att
return new Request($this->adaptee->duplicate($query, $request, $attributes, $cookies, $files, $server));
}

public function isSecure(): bool
{
return $this->adaptee->isSecure();
}

/**
* @return Adaptee
*/
Expand Down

0 comments on commit fe43ae2

Please sign in to comment.