public function databasePath($path = '')
    {
        return ($this->databasePath ?: $this->basePath.DIRECTORY_SEPARATOR.'database').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function databasePath($path = '')
    {
        return ($this->databasePath ?: $this->basePath.DIRECTORY_SEPARATOR.'database').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function databasePath ( $ path = '' ) { return ( $ this -> databasePath ? : $ this -> basePath . DIRECTORY_SEPARATOR . 'database' ) . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
Get the path to the database directory.

@param  string  $path Optionally, a path to append to the database path
@return string
Get the path to the database directory .