current() 공개 정적인 메소드

Return the current URL.
public static current ( boolean $addAuth = false ) : string
$addAuth boolean
리턴 string
예제 #1
0
파일: UrlTest.php 프로젝트: jbzoo/utils
 public function testEmpty()
 {
     isSame(null, Url::root());
     isSame(null, Url::path());
     isSame(null, Url::current());
 }
예제 #2
0
 /**
  * @return string
  */
 public function getUri()
 {
     return Url::current();
 }