yiisoft/yii2 — pull request #2569 by thiagotalma (2014-02-26 22:11:02+00:00)
Title: Allows use an anonymous function to set the label of the attribute.

Useful when we need the label to be dynamic according to the model.