protected function write($content, $file)
    {
        if (file_exists($file)) { // Do not create a new file
            return file_put_contents($file, $content) !== false;
        }

        return false;
    }
protected function write($content, $file)
    {
        if (file_exists($file)) { // Do not create a new file
            return file_put_contents($file, $content) !== false;
        }

        return false;
    }
protected function write ( $ content , $ file ) { if ( file_exists ( $ file ) ) { // Do not create a new file return file_put_contents ( $ file , $ content ) !== false ; } return false ; }
Writes a content to a file
@param string $content
@param string $file
@return boolean
Writes a content to a file