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