src/Build/Build.php
public function getLastBuild()
    {
        if ($this->lastBuild == null) {
            $build = new self($this->getEngine(), $this->getProject());

            return $build;
        }

        return $this->lastBuild;
    }
public function getLastBuild()
    {
        if ($this->lastBuild == null) {
            $build = new self($this->getEngine(), $this->getProject());

            return $build;
        }

        return $this->lastBuild;
    }
public function getLastBuild ( ) { if ( $ this -> lastBuild == null ) { $ build = new self ( $ this -> getEngine ( ) , $ this -> getProject ( ) ) ; return $ build ; } return $ this -> lastBuild ; }
Returns the last build.

@return BuildInterface
Returns the last build .