Add seedBatch.

@param \Librinfo\SeedBatchBundle\Entity\SeedBatch $seedBatch

@return Plot
323750
public function addSeedBatch(\Librinfo\SeedBatchBundle\Entity\SeedBatch $seedBatch)
    {
        $this->seedBatches[] = $seedBatch;

        return $this;
    }
176111
public static function textBatch(Api\MtBatchTextSmsCreate $batch)
    {
        $fields = Serialize::_createBatchHelper($batch);

        $fields['type'] = 'mt_text';
        $fields['body'] = $batch->getBody();

        if (!empty($batch->getParameters())) {
            $fields['parameters'] = $batch->getParameters();
        }

        return Serialize::_toJson($fields);
    }
1170595
public function add_file_to_pool($pathname, $contenthash = null, $newrecord = null) {
        $this->call_before_file_created_plugin_functions($newrecord, $pathname);
        return $this->filesystem->add_file_from_path($pathname, $contenthash);
    }
122462
protected function loadCronBatch(\Gems_Task_TaskRunnerBatch $batch)
    {
       $batch->addMessage(sprintf($this->_("Starting %s mail jobs"), $this->project->getName()));
       $batch->addTask('Mail\\AddAllMailJobsTask');

        // Check for unprocessed tokens, 
       $tracker = $this->loader->getTracker();
       $tracker->loadCompletedTokensBatch($batch, null, $this->currentUser->getUserId());
   }
584584
public function addFields($fields, $fieldset = null, $group = null)
    {
        if ($fields instanceof \SimpleXMLElement) {
            $fields = $fields->xpath('//field');
        }

        foreach ($fields as $field) {
            $this->addField($field, $fieldset, $group);
        }

        return $this;
    }
530072
public function execute($seeder = null)
    {
        $container = Ioc::getContainer();

        if (is_string($seeder)) {
            $ref = new \ReflectionClass($this);

            include_once dirname($ref->getFileName()) . '/' . $seeder . '.php';

            $seeder = $container->newInstance($seeder, ['db' => $this->db, 'command' => $this->command]);
        }

        $seeder->setDb($this->db)
            ->setCommand($this->command);

        $this->command->out()->out('Import seeder <info>' . get_class($seeder) . '</info>');

        $container->call([$seeder, 'doExecute']);

        $this->command->out()->out('  <option>Import completed...</option>');

        return $this;
    }
521609
public function addWidgetMap(WidgetMap $widgetMap)
    {
        if (!$widgetMap->getView()) {
            $widgetMap->setView($this);
        }
        $this->widgetMaps[] = $widgetMap;
    }
89302
protected function runSeed(String $className)
	{
		if (!class_exists($className)) {
			throw new SeederNotFoundException(
				sprintf(
					'[%s] seeder class not found.',
					$className
				)
			);
		}

		$seeder = new $className();
		return $seeder->run();
	}
814386
public function seedDatabase(): void
    {
        (new SeedSiteSettingTable())->run();
        (new SeedUserTable())->run();
        (new SeedGedcomTable())->run();
        (new SeedGedcomSettingTable())->run();
        (new SeedDefaultResnTable())->run();
    }
580043
public function add(Batch ...$batches)
    {
        foreach ($batches as $batch) {
            if (!$this->has($batch)) {
                $this->batches[] = $batch;
            }
        }

        return $this;
    }
50084
protected function registerMakeSeederCommand($command)
    {
        $this->app->singleton($command, function ($app) {
            return new Database\Commands\SeederMakeCommand($app);
        });
    }
530928
public static function binaryBatch(Api\MtBatchBinarySmsCreate $batch)
    {
        $fields = Serialize::_createBatchHelper($batch);

        $fields['type'] = 'mt_binary';
        $fields['body'] = base64_encode($batch->getBody());
        $fields['udh'] = bin2hex($batch->getUdh());

        return Serialize::_toJson($fields);
    }
870974
public static function textBatchUpdate(Api\MtBatchTextSmsUpdate $batch)
    {
        $fields = Serialize::_batchUpdateHelper($batch);

        $fields['type'] = 'mt_text';

        if (null != $batch->getBody()) {
            $fields['body'] = $batch->getBody();
        }

        if (null != $batch->getParameters()) {
            if ($batch->getParameters() === Api\Reset::reset()) {
                $fields['parameters'] = null;
            } else {
                $fields['parameters'] = $batch->getParameters();
            }
        }

        return Serialize::_toJson($fields);
    }
646145
public function add(PHPExcel_IComparable $pSource = null) {
		$hash = $pSource->getHashCode();
		if (!isset($this->_items[$hash])) {
			$this->_items[$hash] = $pSource;
			$this->_keyMap[count($this->_items) - 1] = $hash;
		}
	}
371846
public function add($seed, $region = null)
    {
        if ($this->_rendered) {
            throw new Exception('You cannot add anything into the view after it was rendered');
        }
        if (!$this->app) {
            $this->_add_later[] = [$seed, $region];

            return $seed;
        }

        if (is_array($region)) {
            $args = $region;
            if (isset($args['region'])) {
                $region = ['region'=>$args['region']];
                unset($args['region']);
            }
        } elseif ($region) {
            $args = null;
            $region = ['region'=>$region];
        } else {
            $args = null;
            $region = null;
        }

        // Create object first
        $object = $this->factory($this->mergeSeeds($seed, ['View']), $region);

        // Will call init() of the object
        $object = $this->_add($object, $args);

        return $object;
    }
371430
public function initLayout($seed)
    {
        $layout = $this->factory($seed, null, 'Layout');
        $layout->app = $this;

        if (!$this->html) {
            $this->html = new View(['defaultTemplate' => 'html.html']);
            $this->html->app = $this;
            $this->html->init();
        }

        $this->layout = $this->html->add($layout);

        $this->initIncludes();

        return $this;
    }
1273338
public function addDecorator($name, $seed)
    {
        if (!$this->columns[$name]) {
            throw new Exception(['No such column, cannot decorate', 'name' => $name]);
        }
        $decorator = $this->_add($this->factory($seed, ['table' => $this], 'TableColumn'));

        if (!is_array($this->columns[$name])) {
            $this->columns[$name] = [$this->columns[$name]];
        }
        $this->columns[$name][] = $decorator;

        return $decorator;
    }