/** * Sets a directory to save generated mock files in * * If this is not specified MockMaker will still return the generated * code as a string. * * @param string $writeDirectory Directory to save output files in * @return MockMaker */ public function saveMockFilesIn($writeDirectory) { $this->config->setMockWriteDir($writeDirectory); return $this; }