slim framework and doctrine