public static function touch($filename, $content = '')
    {
        self::mkdir(dirname($filename));
        file_put_contents($filename, $content);
    }
public static function touch($filename, $content = '')
    {
        self::mkdir(dirname($filename));
        file_put_contents($filename, $content);
    }
public static function touch ( $ filename , $ content = '' ) { self :: mkdir ( dirname ( $ filename ) ) ; file_put_contents ( $ filename , $ content ) ; }
Creates a file and its directory

@param string $filename
@param string $content
Creates a file and its directory