configurations = new ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set rule * * @param object $rule */ public function setRule(PC\ProfileRule $rule) { $this->rule = $rule; } /** * Get rule * * @return object */ public function getRule() { return $this->rule; } /** * Set target_profile_type * * @param string $targetProfileType */ public function setTargetProfileType($targetProfileType) { $this->target_profile_type = $targetProfileType; } /** * Get target_profile_type * * @return string */ public function getTargetProfileType() { return $this->target_profile_type; } /** * Set configuration * * @param object $configuration */ public function setConfigurations(ArrayCollection $configurations) { $this->configurations = $configurations; } /** * Get configuration * * @return array */ public function getConfigurations() { return $this->configurations; } public function addConfiguration(PC\ProfileConfiguration $configuration) { $this->configurations->add($configuration); } }