method last documentation in bbn\Version\Svn

function($path = '/') { if ( $this->has_svn ){ $this->auth(); return svn_status($this->url.$path, SVN_NON_RECURSIVE|SVN_ALL); } else{ ob_start(); header('Content-Type: text/plain; charset=UTF-8'); print(shell_exec("svn info --xml ".$this->args())); $st = ob_get_contents(); ob_end_clean(); $log = new \SimpleXMLElement($st); if ( isset($log->entry['revision']) ){ return (int)$log->entry['revision']; } } }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.