rfc:instance_counter

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
rfc:instance_counter [2013/04/30 07:40] – [Function name] frankrfc:instance_counter [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 5: Line 5:
   * Author: Frank Liepert, contact@frank-liepert.de   * Author: Frank Liepert, contact@frank-liepert.de
   * Contributor: Joe Watkins   * Contributor: Joe Watkins
-  * Status: Under Discussion+  * Status: Declined
   * First Published at: http://wiki.php.net/rfc/instance_counter   * First Published at: http://wiki.php.net/rfc/instance_counter
  
Line 18: Line 18:
 The proposal is to add a new functionality dealing with the number of instances of either a specific class name/object or set of class names/objects or all classes. The proposal is to add a new functionality dealing with the number of instances of either a specific class name/object or set of class names/objects or all classes.
  
-The function name should fit in with the current names of class/object functions. Therefore, the name **get_objects_count()** seems to be reasonable, but is still up for discussion (see [[#Function name]]).+The function name should fit in with the current names of class/object functions. Therefore, the name **get_objects_count()** seems to be reasonable.
  
   * **If no argument is provided, the number of all objects in the object store as an associative array ('class name' => count) will be returned.**   * **If no argument is provided, the number of all objects in the object store as an associative array ('class name' => count) will be returned.**
Line 149: Line 149:
 ===== Function name ===== ===== Function name =====
  
-Further suggestions for the function name in example #1:+Since there were no objections against the proposed function name, its status changes to accepted.
 <code> <code>
 // Proposed + Accepted // Proposed + Accepted
Line 204: Line 204:
  
 - None. - None.
 +
 +===== Vote =====
 +<doodle title="Should this RFC be implemented?" auth="frank" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +    
 +==== Voting period ====
 +Start: **2013/04/30**
 +
 +End: **2013/05/07**
rfc/instance_counter.1367307623.txt.gz · Last modified: 2017/09/22 13:28 (external edit)