public function make($file, $content) { if ($this->exists($file)) { throw new FileAlreadyExists(); } return file_put_contents($file, $content); }