Skip to content

Commit c95c7b6

Browse files
[11.x] Add path method to Illuminate\Contracts\Filesystem\Filesystem interfa… (#49525)
* Add path method to Illuminate\Contracts\Filesystem\Filesystem interface to prevent error in Storage Facade * Update Filesystem.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent d73a545 commit c95c7b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Illuminate/Contracts/Filesystem/Filesystem.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ interface Filesystem
1818
*/
1919
const VISIBILITY_PRIVATE = 'private';
2020

21+
/**
22+
* Get the full path to the file that exists at the given relative path.
23+
*
24+
* @param string $path
25+
* @return string
26+
*/
27+
public function path($path);
28+
2129
/**
2230
* Determine if a file exists.
2331
*

0 commit comments

Comments
 (0)