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

Breadcrumb

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

function CallCenter::__construct

Initializes call center.

Parameters

StringUtil $util:

File

vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php, line 46

Class

CallCenter
Calls receiver & manager.

Namespace

Prophecy\Call

Code

public function __construct(?StringUtil $util = null) {
    $this->util = $util ?: new StringUtil();
    $this->unexpectedCalls = new SplObjectStorage();
}

API Navigation

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