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