You are here

public function CallCenter::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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();
}