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

Breadcrumb

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

function Registry::f

File

vendor/symfony/var-exporter/Internal/Registry.php, line 57

Class

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

Namespace

Symfony\Component\VarExporter\Internal

Code

public static function f($class) {
    $reflector = self::$reflectors[$class] ??= self::getClassReflector($class, true, false);
    return self::$factories[$class] = [
        $reflector,
        'newInstanceWithoutConstructor',
    ](...);
}

API Navigation

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