public function version()
    {
        $adapter = app('antares.version')->getAdapter();
        $data    = ['version' => $adapter->getActualVersion()];
        if ($adapter->isNewer()) {
            $data['messages'][] = ['warning', sprintf('New System version available. We strongly recommend upgrade to version %s', $adapter->getVersion())];
        }
        return $this->presenter->version($data);
    }
public function version()
    {
        $adapter = app('antares.version')->getAdapter();
        $data    = ['version' => $adapter->getActualVersion()];
        if ($adapter->isNewer()) {
            $data['messages'][] = ['warning', sprintf('New System version available. We strongly recommend upgrade to version %s', $adapter->getVersion())];
        }
        return $this->presenter->version($data);
    }
public function version ( ) { $ adapter = app ( 'antares.version' ) -> getAdapter ( ) ; $ data = [ 'version' => $ adapter -> getActualVersion ( ) ] ; if ( $ adapter -> isNewer ( ) ) { $ data [ 'messages' ] [ ] = [ 'warning' , sprintf ( 'New System version available. We strongly recommend upgrade to version %s' , $ adapter -> getVersion ( ) ) ] ; } return $ this -> presenter -> version ( $ data ) ; }
get system version

@return \Illuminate\View\View
get system version