rfc:object-model-improvements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:object-model-improvements [2011/03/03 14:12] – martinscotta | rfc:object-model-improvements [2011/03/03 14:13] – martinscotta | ||
---|---|---|---|
Line 17: | Line 17: | ||
==== New Features ==== | ==== New Features ==== | ||
- | - Constructors | + | === Constructors |
* Provide a default empty constructor (if applicable) | * Provide a default empty constructor (if applicable) | ||
* Remove the inheritance | * Remove the inheritance | ||
* Disallow directly calls to them | * Disallow directly calls to them | ||
* Ensure constructor call on parent classes | * Ensure constructor call on parent classes | ||
- | - Magic methods: | + | === Magic methods |
* disallow directly call from outer context? | * disallow directly call from outer context? | ||
* markers interfaces | * markers interfaces | ||
- | - class / interface | + | === class / interface |
* provide a magic constant with the fully qualified class name | * provide a magic constant with the fully qualified class name | ||
<code php> | <code php> | ||
Line 43: | Line 43: | ||
} | } | ||
</ | </ | ||
- | - errors into exceptions | + | === errors into exceptions |
* Improve PHP Exception class | * Improve PHP Exception class | ||
* Remove errors/ | * Remove errors/ |
rfc/object-model-improvements.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1