public function __construct(Call $call, array $array, CallEventFactory $callEventFactory) { $this->call = $call; $this->array = $array; $this->callEventFactory = $callEventFactory; $this->isUsed = false; $this->isConsumed = false; }