/** * Sets a regex pattern used to EXCLUDE files * * TODO: allow multiple exclude regex? * * Pattern is compared against the file name, sans extension. * * @param string $excludeRegex Regex pattern * @return MockMaker */ public function excludeFilesWithFormat($excludeRegex) { $this->config->setExcludeFileRegex($excludeRegex); return $this; }