50], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', 'title' => 'Title', ]; } public static function getTypeEnum() { return self::find()->select('title')->indexBy('name')->column(); } }