private function getAppVersion()
    {
        $version = $this->app->version();
        if (substr($version, 0, 7) === 'Lumen (') {
            $version = array_first(explode(')', str_replace('Lumen (', '', $version)));
        }
        return $version;
    }
private function getAppVersion()
    {
        $version = $this->app->version();
        if (substr($version, 0, 7) === 'Lumen (') {
            $version = array_first(explode(')', str_replace('Lumen (', '', $version)));
        }
        return $version;
    }
private function getAppVersion ( ) { $ version = $ this -> app -> version ( ) ; if ( substr ( $ version , 0 , 7 ) === 'Lumen (' ) { $ version = array_first ( explode ( ')' , str_replace ( 'Lumen (' , '' , $ version ) ) ) ; } return $ version ; }
Get the version number of the application.

@return string
Get the version number of the application .