Removes a method to call after service initialization.
@api
string $method The method name to remove:
Definition The current instance
public function removeMethodCall($method) {
foreach ($this->calls as $i => $call) {
if ($call[0] === $method) {
unset($this->calls[$i]);
break;
}
}
return $this;
}