PHP Slim-doctrine-middleware Resources