src/Build/Labeler/DefaultLabeler.php
public function getLabel(BuildInterface $build)
    {
        $buildNo = $build->getNumber();

        if ($buildNo == null) {
            $buildNo = $this->_firstBuild;
        }

        $buildLabel = $this->_prefix.$buildNo;
        $build->setProperty('build.label', $buildLabel);

        return $buildLabel;
    }
public function getLabel(BuildInterface $build)
    {
        $buildNo = $build->getNumber();

        if ($buildNo == null) {
            $buildNo = $this->_firstBuild;
        }

        $buildLabel = $this->_prefix.$buildNo;
        $build->setProperty('build.label', $buildLabel);

        return $buildLabel;
    }
public function getLabel ( BuildInterface $ build ) { $ buildNo = $ build -> getNumber ( ) ; if ( $ buildNo == null ) { $ buildNo = $ this -> _firstBuild ; } $ buildLabel = $ this -> _prefix . $ buildNo ; $ build -> setProperty ( 'build.label' , $ buildLabel ) ; return $ buildLabel ; }
Return the label for this build.

@param Xinc_Build_Interface $build

@return string
Return the label for this build .