public function excludeMethodsFromCoverage(array $methods) { $coverage = $this->runner->getCoverage(); foreach ($methods as $method) { $coverage->excludeMethod($method); } return $this; }