Skip to content

Commit b2a06e7

Browse files
committed
add shorter method for get the ip of the Request
1 parent bcdef49 commit b2a06e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ <h4><a name="requests" href="#requests">Request</a> <a href="http://laravel.com/
12521252
// getRequestUri: /aa/bb/?c=d
12531253
Request::getRequestUri();
12541254
// Returns user's IP
1255-
Request::getClientIp();
1255+
Request::ip();
12561256
// getUri: http://xx.com/aa/bb/?c=d
12571257
Request::getUri();
12581258
// getQueryString: c=d

0 commit comments

Comments
 (0)