2], [['name'], 'string', 'max' => 52], [['code'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'code' => 'Code', 'name' => 'Name', 'population' => 'Population', ]; } }