From 299bf87a8271e232b0317efaa268a3ddd42a6bd3 Mon Sep 17 00:00:00 2001 From: ignace nyamagana butera Date: Mon, 20 Nov 2023 20:21:33 +0100 Subject: [PATCH] Add missing documentation --- docs/uri/7.0/base-uri.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/uri/7.0/base-uri.md b/docs/uri/7.0/base-uri.md index 8accea6c..1d0e2f9e 100644 --- a/docs/uri/7.0/base-uri.md +++ b/docs/uri/7.0/base-uri.md @@ -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 + +

since version 7.4.0

+ +Tells whether the given URI object represents a local file path. + +~~~php +BaseUri::from("file://localhost/etc/fstab")->isLocalFile(); //returns true +~~~