public function addBuild(Build $build)
    {
        $this->getBuilds();
        $build->setRepositoryId($this->getId());
        $this->builds[$build->getId()] = $build;
    }
public function addBuild(Build $build)
    {
        $this->getBuilds();
        $build->setRepositoryId($this->getId());
        $this->builds[$build->getId()] = $build;
    }
public function addBuild ( Build $ build ) { $ this -> getBuilds ( ) ; $ build -> setRepositoryId ( $ this -> getId ( ) ) ; $ this -> builds [ $ build -> getId ( ) ] = $ build ; }
Add build to the list

@param Build $build
Add build to the list