Skip to content

Commit 2ff0764

Browse files
authored
Add the langPath() function to the Application Contract (#40932)
To help with type hinting
1 parent 4d7ca1c commit 2ff0764

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Illuminate/Contracts/Foundation/Application.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public function configPath($path = '');
4545
*/
4646
public function databasePath($path = '');
4747

48+
/**
49+
* Get the path to the language files.
50+
*
51+
* @param string $path
52+
* @return string
53+
*/
54+
public function langPath($path = '');
55+
4856
/**
4957
* Get the path to the resources directory.
5058
*

0 commit comments

Comments
 (0)