php-meminfo icon indicating copy to clipboard operation
php-meminfo copied to clipboard

In objects list, display a configured property of the object

Open BitOne opened this issue 11 years ago • 3 comments

In a lot of cases, providing the object list with only the class name is not sufficient. Identifying a specific instance could be needed.

Even if there's no standard object identifier in PHP, standard conventions and the usage of tools like ORM pushes the use of common object property (for example id) to uniquely identify the objects.

By providing an optional object property name to meminfo_objects_list, we can display this property and identify the objects.

BitOne avatar Feb 15 '14 20:02 BitOne

It would be awesome if meminfo extension will provide MeminfoObjectInterface with getMeminfoIdentifier method for defining custom identifier.

max-voloshyn avatar Jan 26 '15 23:01 max-voloshyn

:+1: for this feature :)

fitn avatar Jan 26 '16 09:01 fitn

Relates to #31.

#31 is more generic so maybe the way to go.

BitOne avatar Nov 17 '17 10:11 BitOne