Fix for compatibility with PHP 5.3.
Fix for compatibility with PHP 5.3.

PHP 5.3 does not allow the use of $this inside closures. This is a temporary fix for compatibility with 5.3, while we are still supporting it. We will drop this when updating the minimum requirements to PHP 5.4.

jschlyter/simplesamlphp,dnmvisser/simplesamlphp,dnmvisser/simplesamlphp,jschlyter/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp,simplesamlphp/simplesamlphp,sitya/simplesamlphp,jschlyter/simplesamlphp,sitya/simplesamlphp,jschlyter/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,sitya/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp,sitya/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,jschlyter/simplesamlphp,simplesamlphp/simplesamlphp