src/Version.php
private function versionBits()
    {
        $versionBits = explode('-', $this->version);
        if (strlen($versionBits[0])) {
            $this->version = $versionBits[0];
            if (isset($versionBits[1])) {
                $this->version = $versionBits[0] . '.' . $versionBits[1];
            }
            if (isset($versionBits[2])) {
                $this->hash = $versionBits[2];
            }
        }
    }
private function versionBits()
    {
        $versionBits = explode('-', $this->version);
        if (strlen($versionBits[0])) {
            $this->version = $versionBits[0];
            if (isset($versionBits[1])) {
                $this->version = $versionBits[0] . '.' . $versionBits[1];
            }
            if (isset($versionBits[2])) {
                $this->hash = $versionBits[2];
            }
        }
    }
private function versionBits ( ) { $ versionBits = explode ( '-' , $ this -> version ) ; if ( strlen ( $ versionBits [ 0 ] ) ) { $ this -> version = $ versionBits [ 0 ] ; if ( isset ( $ versionBits [ 1 ] ) ) { $ this -> version = $ versionBits [ 0 ] . '.' . $ versionBits [ 1 ] ; } if ( isset ( $ versionBits [ 2 ] ) ) { $ this -> hash = $ versionBits [ 2 ] ; } } }
Computes and sets the version number and object hash properties.
@return void
Computes and sets the version number and object hash properties .