public function copy(call $call) { $this->function = $call->function; $this->arguments = $call->arguments; $this->decorator = $call->decorator; return $this; }
public function setCall(test\adapter\call $call = null) { if ($call === null) { $call = new test\adapter\call(); } if ($this->call !== null) { $call->copy($this->call); } $this->call = $call; return $this; }