src/Type/BigIntType.php
public function encode($value, Field $field, Codec $codec = null)
    {
        if ($value instanceof BigNumber) {
            return $value->getValue();
        }

        return '0';
    }
public function encode($value, Field $field, Codec $codec = null)
    {
        if ($value instanceof BigNumber) {
            return $value->getValue();
        }

        return '0';
    }
public function encode ( $ value , Field $ field , Codec $ codec = null ) { if ( $ value instanceof BigNumber ) { return $ value -> getValue ( ) ; } return '0' ; }
{@inheritdoc}
{