Minor, but i think it's o.k. to use `\` instead of `\\`. It looks confusing and newbies could think, that you have to write namespaces this way in PHP. But inside single quotes only `'` really needs to be esaceped. Admittedly the PHP manual is a bit confusing, too:

> To specify a literal single quote, escape it with a backslash (\). To specify a literal backslash, double it (\\). All other instances of backslash will be treated as a literal backslash: this means that the other escape sequences you might be used to, such as \r or \n, will be output literally as specified rather than having any special meaning.