has('config') ? $container->get('config') : []; // Retrieve the configuration listed below. // I'm not sure if there is, but there might be, a way to enforce the // configuration element to be present. Need to have a look for that. return new JWTMiddleware($config['auth']['jwt']); } }