rfc:horizontalreuse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:horizontalreuse [2011/01/03 10:30] – and bumped up version number +0.1 for property definition gronrfc:horizontalreuse [2011/04/06 10:59] – external edit 127.0.0.1
Line 1: Line 1:
 ====== Request for Comments: Horizontal Reuse for PHP ====== ====== Request for Comments: Horizontal Reuse for PHP ======
-  * Version: 2.1.0 +  * Version: 2.1.1 
-  * Date: 2008-10-12, last update 2010-12-21+  * Date: 2008-10-12, last update 2011-01-09
   * Author: Stefan Marr <php.at.stefan-marr.de>   * Author: Stefan Marr <php.at.stefan-marr.de>
   * Status: Committed to trunk (traits only)   * Status: Committed to trunk (traits only)
Line 551: Line 551:
  
  
 +===== Reflection =====
 +
 +Status: The Reflection API is not completely adapted for traits yet.
 +
 +The following functions are added to match the existing class- or interface-specific functions. 
 +  * trait_exists()  -- returns true for traits, false for all kind of classes and interfaces
 +  * get_declared_traits()  -- returns the defined traits, no classes or interfaces
  
 ====== Grafts - Class Composition (not implemented) ====== ====== Grafts - Class Composition (not implemented) ======
rfc/horizontalreuse.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1