public function setLimit(int $limit)
    {
        $this->limit = $limit;
        if ($this->limit < $this->batchSize) {
            $this->batchSize = $this->limit;
        }

        return $this;
    }
public function setLimit(int $limit)
    {
        $this->limit = $limit;
        if ($this->limit < $this->batchSize) {
            $this->batchSize = $this->limit;
        }

        return $this;
    }
public function setLimit ( int $ limit ) { $ this -> limit = $ limit ; if ( $ this -> limit < $ this -> batchSize ) { $ this -> batchSize = $ this -> limit ; } return $ this ; }
Limit of fake generated records for updates and creates

@param int $limit

@return mixed
Limit of fake generated records for updates and creates