/** * Sets directories to scan for files to mock * * Any files returned from these directories will be merged with files * specified through the mockTheseEntities() method * * @param string|array $readDirectory Directories to scan * @return MockMaker */ public function mockEntitiesInDirectory($readDirectory) { $this->config->addReadDirectories($readDirectory); return $this; }