{$name})) { return $this->{$name}; } else { return null; } } public function setTranslatableLocale($locale) { $this->locale = $locale; } public function getLocalesEnabled(): ?array { return $this->localesEnabled; } public function setLocalesEnabled(?array $localesEnabled): self { $this->localesEnabled = $localesEnabled; return $this; } }