| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- /**
- * This file is part of web3.php package.
- *
- * (c) Kuan-Cheng,Lai <alk03073135@gmail.com>
- *
- * @author Peter Lai <alk03073135@gmail.com>
- * @license MIT
- */
- namespace Web3\Methods\Eth;
- use InvalidArgumentException;
- use Web3\Methods\EthMethod;
- use Web3\Validators\TagValidator;
- use Web3\Validators\QuantityValidator;
- use Web3\Formatters\OptionalQuantityFormatter;
- use Web3\Formatters\QuantityFormatter;
- class GetUncleByBlockNumberAndIndex extends EthMethod
- {
- /**
- * validators
- *
- * @var array
- */
- protected $validators = [
- [
- TagValidator::class, QuantityValidator::class
- ], QuantityValidator::class
- ];
- /**
- * inputFormatters
- *
- * @var array
- */
- protected $inputFormatters = [
- OptionalQuantityFormatter::class, QuantityFormatter::class
- ];
- /**
- * outputFormatters
- *
- * @var array
- */
- protected $outputFormatters = [];
- /**
- * defaultValues
- *
- * @var array
- */
- protected $defaultValues = [];
- }
|