public function init() { if ($this->translationAttributes === null) { throw new InvalidConfigException('The "translationAttributes" property must be set.'); } }