Request::url PHP 메소드

url() 공개 정적인 메소드

Get the URL (no query string) for the request.
public static url ( ) : string
리턴 string
        public static function url()
        {
            return \Illuminate\Http\Request::url();
        }

Usage Example

예제 #1
0
 public static function createHanlder()
 {
     if (preg_match('/\\/api\\//', \Request::url())) {
         return new ApiExceptionHandler();
     }
     return new WebExceptionHandler();
 }
All Usage Examples Of Request::url