AppController to use Ray.Di in CakePHP