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

Breadcrumb

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

function RdKafkaCaster::castConf

File

vendor/symfony/var-dumper/Caster/RdKafkaCaster.php, line 89

Class

RdKafkaCaster
Casts RdKafka related classes to array representation.

Namespace

Symfony\Component\VarDumper\Caster

Code

public static function castConf(Conf $c, array $a, Stub $stub, bool $isNested) : array {
    $prefix = Caster::PREFIX_VIRTUAL;
    foreach ($c->dump() as $key => $value) {
        $a[$prefix . $key] = $value;
    }
    return $a;
}

API Navigation

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