class GmpCaster
Casts GMP objects to array representation.
@author Hamza Amrouche <hamza.simperfit@gmail.com> @author Nicolas Grekas <p@tchwork.com>
@final
Hierarchy
- class \Symfony\Component\VarDumper\Caster\GmpCaster
Expanded class hierarchy of GmpCaster
File
-
vendor/
symfony/ var-dumper/ Caster/ GmpCaster.php, line 24
Namespace
Symfony\Component\VarDumper\CasterView source
class GmpCaster {
public static function castGmp(\GMP $gmp, array $a, Stub $stub, bool $isNested, int $filter) : array {
$a[Caster::PREFIX_VIRTUAL . 'value'] = new ConstStub(gmp_strval($gmp), gmp_strval($gmp));
return $a;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
GmpCaster::castGmp | public static | function |