File modules/dsl/standard/Helper.class.php

Last commit: Mon Jun 27 00:40:42 2022 +0200	Jan Dankert	New: Marker interface 'Scriptable', Proxy class for MQTT, help() method in Scripts.
1 <?php 2 3 4 namespace dsl\standard; 5 6 7 class Helper 8 { 9 public static function getHelp( $obj ) { 10 11 return 'Object properties: '.implode(', ',array_map(function($property) { return ''.$property; },get_object_vars($obj))).';'. 12 ' methods: '.implode(', ',array_map(function($property) { return ''.$property.'()'; },get_class_methods($obj))); 13 } 14 }
Download modules/dsl/standard/Helper.class.php
History Mon, 27 Jun 2022 00:40:42 +0200 Jan Dankert New: Marker interface 'Scriptable', Proxy class for MQTT, help() method in Scripts.