Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GmpCaster.php

function GmpCaster::castGmp

File

vendor/symfony/var-dumper/Caster/GmpCaster.php, line 26

Class

GmpCaster
Casts GMP objects to array representation.

Namespace

Symfony\Component\VarDumper\Caster

Code

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal