Laravel\Lumen\Application::databasePath PHP Method

databasePath() public method

Get the database path for the application.
public databasePath ( ) : string
return string
    public function databasePath()
    {
        return $this->basePath() . '/database';
    }

Usage Example

コード例 #1
0
 /**
  * Get the database path for the application.
  *
  * @return string 
  * @static 
  */
 public static function databasePath()
 {
     return \Laravel\Lumen\Application::databasePath();
 }