public function canGetProperty($name, $checkVars = true) { return in_array($name, $this->translationAttributes) ?: parent::canGetProperty($name, $checkVars); }