Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
generate-methods.php File Reference

Go to the source code of this file.

Variables

 $shouldWriteToDisc = (isset($GLOBALS['argv'][1]) && $GLOBALS['argv'][1] === '--no-file-generation') ? false : true
 
 $conf
 

Detailed Description

Generates interface Web3Methods.

Generating from resources/ethjs-schema.json -> objects.

Definition in file generate-methods.php.

Variable Documentation

◆ $conf

$conf
Initial value:
= [
'interface' => [
'destination' => './src/Web3Interface.php'

Definition at line 29 of file generate-methods.php.

◆ $shouldWriteToDisc

$shouldWriteToDisc = (isset($GLOBALS['argv'][1]) && $GLOBALS['argv'][1] === '--no-file-generation') ? false : true

Definition at line 23 of file generate-methods.php.