LdapTools\BatchModify\Batch::setModType PHP Method

setModType() public method

Set the modtype for this batch.
public setModType ( integer $modtype )
$modtype integer
    public function setModType($modtype)
    {
        if (!in_array($modtype, self::TYPE)) {
            throw new InvalidArgumentException(sprintf('Invalid batch action type: %s', $modtype));
        }
        $this->modtype = $modtype;
    }