Skip to content

Commit

Permalink
remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis84 committed Jul 24, 2014
1 parent 523cec9 commit 291c462
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/Mapped/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,29 +153,6 @@ public function addConstraint(Constraint $constraint)
$this->constraints[] = $constraint;
}

/**
* Sets a new array of constraints.
*
* @param Constraint[] $constraints An array of constraints
*/
public function setConstraints(array $constraints)
{
$this->constraints = [];
foreach ($constraints as $constraint) {
$this->addConstraint($constraint);
}
}

/**
* Gets the constraints.
*
* @return Constraint[]
*/
public function getConstraints()
{
return $this->constraints;
}

/**
* Gets the event dispatcher.
*
Expand Down

0 comments on commit 291c462

Please sign in to comment.