You are here

public function CallCenter::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php \Prophecy\Call\CallCenter::__construct()

Initializes call center.

Parameters

StringUtil $util:

File

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

Class

CallCenter
Calls receiver & manager.

Namespace

Prophecy\Call

Code

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