isDynamicType
This commit is contained in:
parent
ae7f8983e5
commit
571cf7f7c5
@ -291,4 +291,29 @@ class Ethabi
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* decodeParameter
|
||||
*
|
||||
* @param string $type
|
||||
* @param mixed $param
|
||||
* @return string
|
||||
*/
|
||||
public function decodeParameter($type, $param)
|
||||
{
|
||||
if (!is_string($type)) {
|
||||
throw new InvalidArgumentException('The type to decodeParameter must be string.');
|
||||
}
|
||||
return $this->decodeParameters([$type], [$param]);
|
||||
}
|
||||
|
||||
/**
|
||||
* decodeParameters
|
||||
*
|
||||
* @param stdClass|array $type
|
||||
* @param array $param
|
||||
* @return string
|
||||
*/
|
||||
public function decodeParameters($type, $param)
|
||||
{}
|
||||
}
|
Loading…
Reference in New Issue
Block a user