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

Breadcrumb

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

function MysqliCaster::castMysqliDriver

File

vendor/symfony/var-dumper/Caster/MysqliCaster.php, line 23

Class

MysqliCaster
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\VarDumper\Caster

Code

public static function castMysqliDriver(\mysqli_driver $c, array $a, Stub $stub, bool $isNested) : array {
    foreach ($a as $k => $v) {
        if (isset($c->{$k})) {
            $a[$k] = $c->{$k};
        }
    }
    return $a;
}

API Navigation

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