method report documentation in bbn\Util\Info

Add information to the $info array

function($st) { if ( !isset(self::$cli) ) { global $argv; self::$cli = isset($argv) ? 1 : false; } if ( self::$cli ) { if ( \is_string($st) ) echo $st."\n"; else var_dump($st)."\n"; } else { if ( \is_string($st) ) array_push(self::$info,$st); else array_push(self::$info,print_r($st,true)); } }

Add information to the $info array BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.