method generate documentation in bbn\Api\Cloudmintest

Returns a string of PHP code for executing a given command with all its possible parameters pre-populated

function($command) { if ( isset($this->commands[$perl_cmd]) ){ $cmd = $this->commands[$perl_cmd]; $st = '$vm->'.$command.'(['.PHP_EOL; foreach ( $cmd['args'] as $k => $v ){ $st .= "'$k' => ".($v['binary'] ? '0' : "''").PHP_EOL; } $st .= ']);'; return $st; } return false; }

Returns a string of PHP code for executing a given command with all its possible parameters pre-populated 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.