From e0b58d2a7d5aac5019a666ea79d3910448ba9c56 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 14 Jan 2018 01:45:23 +0100 Subject: Added illuminate/support and Fluent Interface to Config --- src/helpers.php | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/helpers.php') diff --git a/src/helpers.php b/src/helpers.php index 5a48498a..c3c727ec 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -64,21 +64,6 @@ function config_path($path = '') return app('path.config') . (empty($path) ? '' : DIRECTORY_SEPARATOR . $path); } -/** - * @param string $key - * @param mixed $default - * @return mixed - */ -function env($key, $default = null) -{ - $value = getenv($key); - if ($value === false) { - return $default; - } - - return $value; -} - /** * @param string $key * @param mixed $default -- cgit v1.2.3-54-g00ecf