PHP Classes

File: UPGRADE-4.0.md

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP Code Generator  >  UPGRADE-4.0.md  >  Download  
File: UPGRADE-4.0.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Code Generator
Generate PHP code elements programatically
Author: By
Last change:
Date: 1 year ago
Size: 566 bytes
 

Contents

Class file image Download

UPGRADE FROM 3.to 4.

The main change is that PhpProperty are now type hinted in addition to internal methods removal and introduction of Interfaces and Traits - WsdlToPhp\PhpGenerator\Element\PhpProperty::__construct has a new parameter in the end named $type which can be any of the regular PHP types, or any existing PHP class or a PhpClass element or a string or a null value

Apart from that, the usage did not change, the inner classes has changed which should not be an issue if you did not inherit from them. Otherwise, launch your unit tests ;).

For more information send a message to info at phpclasses dot org.