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

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

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

@param $file
@param $content

@throws FileAlreadyExists

@return int
Make a file .