src/Model/Browser.php
public function toString()
    {
        if ($this->hidden) {
            return '';
        }
        
        $result = trim($this->getName() . ' ' . (!empty($this->version) && !$this->version->hidden ? $this->getVersion() : ''));

        if (empty($result) && isset($this->using)) {
            return $this->using->toString();
        }

        return $result;
    }
public function toString()
    {
        if ($this->hidden) {
            return '';
        }
        
        $result = trim($this->getName() . ' ' . (!empty($this->version) && !$this->version->hidden ? $this->getVersion() : ''));

        if (empty($result) && isset($this->using)) {
            return $this->using->toString();
        }

        return $result;
    }
public function toString ( ) { if ( $ this -> hidden ) { return '' ; } $ result = trim ( $ this -> getName ( ) . ' ' . ( ! empty ( $ this -> version ) && ! $ this -> version -> hidden ? $ this -> getVersion ( ) : '' ) ) ; if ( empty ( $ result ) && isset ( $ this -> using ) ) { return $ this -> using -> toString ( ) ; } return $ result ; }
Get a combined name and version number in a human readable format

@return string
Get a combined name and version number in a human readable format