改名
This commit is contained in:
@@ -2,12 +2,10 @@
|
||||
|
||||
namespace Server\Message;
|
||||
|
||||
use Annotation\Inject;
|
||||
use BadMethodCallException;
|
||||
use JetBrains\PhpStorm\Pure;
|
||||
use Psr\Http\Message\RequestInterface;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use ReflectionException;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -35,6 +35,9 @@ class Uri implements UriInterface
|
||||
private array $_explode = [];
|
||||
|
||||
|
||||
private mixed $authority;
|
||||
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
@@ -58,11 +61,25 @@ class Uri implements UriInterface
|
||||
return $this->scheme;
|
||||
}
|
||||
|
||||
public function getAuthority()
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getAuthority(): mixed
|
||||
{
|
||||
// TODO: Implement getAuthority() method.
|
||||
return $this->authority;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $authority
|
||||
*/
|
||||
public function setAuthority($authority)
|
||||
{
|
||||
$this->authority = $authority;
|
||||
}
|
||||
|
||||
|
||||
public function getUserInfo()
|
||||
{
|
||||
// TODO: Implement getUserInfo() method.
|
||||
|
||||
Reference in New Issue
Block a user