I don't think this should actually work. Did you test it out?

Being a static method, you won't be making non-static references which is what the `$this->` would do.

Simply something like this would suffice here:  
`$statHat = new StatHat(key, name);`