request->uri;
!d($uri);
}
public function all()
{
$uri = $this->request->uri;
!d([
'uri 객체는 요청의 일부를 얻을 수 있는 모든 기능을 제공합니다.',
'getScheme' => $uri->getScheme(),
'getAuthority' => $uri->getAuthority(),
'getUserInfo' => $uri->getUserInfo(),
'getHost' => $uri->getHost(),
'getPort' => $uri->getPort(),
'getPath' => $uri->getPath(),
'getQuery' => $uri->getQuery(),
'getSegments' => $uri->getSegments(),
'getSegment' => $uri->getSegment(1),
'getTotalSegments' => $uri->getTotalSegments(),
]);
}
}