public function addSeedBatch($seedBatch)
    {
        $this->seedBatches[] = $seedBatch;

        if (method_exists(get_class($this), 'setProducer')) {
            $seedBatch->setProducer($this);
        }

        return $this;
    }
public function addSeedBatch($seedBatch)
    {
        $this->seedBatches[] = $seedBatch;

        if (method_exists(get_class($this), 'setProducer')) {
            $seedBatch->setProducer($this);
        }

        return $this;
    }
public function addSeedBatch ( $ seedBatch ) { $ this -> seedBatches [ ] = $ seedBatch ; if ( method_exists ( get_class ( $ this ) , 'setProducer' ) ) { $ seedBatch -> setProducer ( $ this ) ; } return $ this ; }
Add seed batch.

@param SeedBatch $seedBatch

@return self
Add seed batch .