Book a Demo
Prev Next

PHP Transformation

The PHP transformation converts Platform-Independent Model (PIM) element types to language-specific PHP Class element types and creates encapsulation (producing the getters and setters) according to the options you have set for creating properties from PHP attributes (on the 'PHP Specifications' page of the 'Preferences' dialog). Note that the public attributes in the PIM are converted to private attributes in the PSM.


The PIM elements

UML Class diagram Platform Independent Model (PIM) in Sparx Systems Enterprise Architect.

After transformation, become the PSM elements

PHP class model (PSM) in Sparx Systems Enterprise Architect.

Learn more