Pelzini

This is the code documentation for the Pelzini project

class VirtualEnumerationsTransformer

This transformer converts constants that start with the same name into an enumeration of that name.

So if a file has the following constants:
  APP_VERSION
  ITEM_TYPE_APPLE
  ITEM_TYPE_ORANGE

The APPLE and ORANGE constants will become a part of the virtual enumeration ITEM_TYPE.

Source code (1 result)

/processor/virtual_enumerations_transformer.php   Highlighted file source

Line 23: * Contains the {@link VirtualEnumerationsTransformer} class
Line 40: class VirtualEnumerationsTransformer extends Transformer {

A total of 2 lines in 1 file was found