Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
namespace Advanced\Constraint; // before I defined a function phpstorm was saying this was an undefined constant
class Constraint
protected $constraints = array();
public function addConstraint($constrait)
$this->constraints[] = $constraint;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment