public function __construct(ConditionEntity $entity, $locale) { $this->entity = $entity; $this->locale = $locale; }