src/Model/Version.php
public function setComplete($complete)
    {
        // check if the version has only 0 -> so no real result
        // maybe move this out to the Providers itself?
        $left = preg_replace('/[0._]/', '', $complete);
        if ($left === '') {
            $complete = null;
        }

        $this->hydrateFromComplete($complete);

        $this->complete = $complete;
    }
public function setComplete($complete)
    {
        // check if the version has only 0 -> so no real result
        // maybe move this out to the Providers itself?
        $left = preg_replace('/[0._]/', '', $complete);
        if ($left === '') {
            $complete = null;
        }

        $this->hydrateFromComplete($complete);

        $this->complete = $complete;
    }
public function setComplete ( $ complete ) { // check if the version has only 0 -> so no real result // maybe move this out to the Providers itself? $ left = preg_replace ( '/[0._]/' , '' , $ complete ) ; if ( $ left === '' ) { $ complete = null ; } $ this -> hydrateFromComplete ( $ complete ) ; $ this -> complete = $ complete ; }
Set from the complete version string.

@param string $complete
Set from the complete version string .