Gathers labels from beans. This function loops through the beans,
collects the values of the name properties of each individual bean
and stores the names in a new array. The array then gets sorted using the
default sort function of PHP (sort).
public static gatherLabels ( array $beans ) : array | ||
$beans | array | list of beans to loop |
return | array |