src/Config/Config.php
protected static function getPath($param)
    {
        $path = (is_null(Application::$root) ? "config/$param.php" : Application::$root."config/$param.php");
        //
        return Bus::need((is_null(Application::$root) ? "config/$param.php" : Application::$root."config/$param.php"));
    }
protected static function getPath($param)
    {
        $path = (is_null(Application::$root) ? "config/$param.php" : Application::$root."config/$param.php");
        //
        return Bus::need((is_null(Application::$root) ? "config/$param.php" : Application::$root."config/$param.php"));
    }
protected static function getPath ( $ param ) { $ path = ( is_null ( Application :: $ root ) ? "config/$param.php" : Application :: $ root . "config/$param.php" ) ; // return Bus :: need ( ( is_null ( Application :: $ root ) ? "config/$param.php" : Application :: $ root . "config/$param.php" ) ) ; }
get path of config files.

@param $param(string) : file name
get path of config files .