out-of-context PHP helper classes