src/Enum.php
public static function labels()
    {
        self::bootClass();

        $result = [];

        foreach (static::values() as $value) {
            $result[] = static::getLabel($value);
        }

        return $result;
    }
public static function labels()
    {
        self::bootClass();

        $result = [];

        foreach (static::values() as $value) {
            $result[] = static::getLabel($value);
        }

        return $result;
    }
public static function labels ( ) { self :: bootClass ( ) ; $ result = [ ] ; foreach ( static :: values ( ) as $ value ) { $ result [ ] = static :: getLabel ( $ value ) ; } return $ result ; }
Returns the array of labels.

@return array
Returns the array of labels .