We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lang_path
1 parent 5e56f8a commit 8b2cdb1Copy full SHA for 8b2cdb1
src/Illuminate/Foundation/helpers.php
@@ -483,6 +483,19 @@ function logger($message = null, array $context = [])
483
}
484
485
486
+if (! function_exists('lang_path')) {
487
+ /**
488
+ * Get the path to the language folder.
489
+ *
490
+ * @param string $path
491
+ * @return string
492
+ */
493
+ function lang_path($path = '')
494
+ {
495
+ return app('path.lang').($path ? DIRECTORY_SEPARATOR.$path : $path);
496
+ }
497
+}
498
+
499
if (! function_exists('logs')) {
500
/**
501
* Get a log driver instance.
0 commit comments