Skip to content

Commit

Permalink
Add missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Nov 20, 2023
1 parent 92ef38b commit 299bf87
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/uri/7.0/base-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,12 @@ BaseUri::from('file:///path%20empty/bar')->toRfc8089();

If the URI scheme is not the `file` scheme, `null` will be returned.

### BaseUri::isLocalFile

<p class="message-notice">since version <code>7.4.0</code></p>

Tells whether the given URI object represents a local file path.

~~~php
BaseUri::from("file://localhost/etc/fstab")->isLocalFile(); //returns true
~~~

0 comments on commit 299bf87

Please sign in to comment.