Maslosoft Framework Documentation
Flexible Application Foundation
Label Annotation
The @Label
annotation defined by Maslosoft\Mangan\Annotations\LabelAnnotation class, simply binds human readable name to property, class or method.
These labels can also be extracted from code and translated into any of languages using translation optimized applications,
such as Poedit.
The usage of annotation is pretty easy, simply add @Label('My Label')
in doc block above method, property or class name.