Laravel\Lumen\Application::databasePath PHP 메소드

databasePath() 공개 메소드

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

Usage Example

 /**
  * Get the database path for the application.
  *
  * @return string 
  * @static 
  */
 public static function databasePath()
 {
     return \Laravel\Lumen\Application::databasePath();
 }