Lines Matching defs:modType
41 protected $modType;
49 * @param int $modType
53 public function __construct(int $modType, $attribute, ...$values)
55 $this->modType = $modType;
83 return $this->modType;
87 * @param int $modType
90 public function setType(int $modType)
92 $this->modType = $modType;
102 return $this->modType === self::TYPE_ADD;
110 return $this->modType === self::TYPE_DELETE && count($this->attribute->getValues()) !== 0;
118 return $this->modType === self::TYPE_REPLACE;
126 return $this->modType === self::TYPE_DELETE && count($this->attribute->getValues()) === 0;