23 protected static $CONSTRAINT_TYPES = array(self::CONSTRAINT_TYPE_DEPENDS, self::CONSTRAINT_TYPE_CONFLICTS, self::CONSTRAINT_TYPE_SUGGESTS);
79 return self::$CONSTRAINT_TYPES;
160 $this->categories[] = $category;
177 $this->parties[] = $party;
196 if (!isset($this->constraints[$constraintType])) {
199 return $this->constraints[$constraintType];
209 $this->constraints[$constraint->getConstraintType()][] = $constraint;