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

Breadcrumb

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

function Doubler::__construct

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php, line 43

Class

Doubler
Cached class doubler. Prevents mirroring/creation of the same structure twice.

Namespace

Prophecy\Doubler

Code

public function __construct(?ClassMirror $mirror = null, ?ClassCreator $creator = null, ?NameGenerator $namer = null) {
    $this->mirror = $mirror ?: new ClassMirror();
    $this->creator = $creator ?: new ClassCreator();
    $this->namer = $namer ?: new NameGenerator();
}

API Navigation

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