public function filePutsContent($path, $content)
    {
        if (@file_put_contents($path, $content) === false) {
            throw new \RuntimeException(sprintf("Could't puts content %s", $path));
        }

        chmod($path, 0777);
    }
public function filePutsContent($path, $content)
    {
        if (@file_put_contents($path, $content) === false) {
            throw new \RuntimeException(sprintf("Could't puts content %s", $path));
        }

        chmod($path, 0777);
    }
public function filePutsContent ( $ path , $ content ) { if ( @ file_put_contents ( $ path , $ content ) === false ) { throw new \ RuntimeException ( sprintf ( "Could't puts content %s" , $ path ) ) ; } chmod ( $ path , 0777 ) ; }
Puts content into file
@param string $path    File path
@param string $content File Content
Puts content into file