public function getLabel($attribute) { return EavAttribute::find()->select(['label'])->where(['name' => $attribute])->scalar(); }