Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
Slim\Factory\AppFactory Class Reference

Static Public Member Functions

static create (?ResponseFactoryInterface $responseFactory=null, ?ContainerInterface $container=null, ?CallableResolverInterface $callableResolver=null, ?RouteCollectorInterface $routeCollector=null, ?RouteResolverInterface $routeResolver=null, ?MiddlewareDispatcherInterface $middlewareDispatcher=null)
 
static createFromContainer (ContainerInterface $container)
 
static determineResponseFactory ()
 
static setCallableResolver (CallableResolverInterface $callableResolver)
 
static setContainer (ContainerInterface $container)
 
static setMiddlewareDispatcher (MiddlewareDispatcherInterface $middlewareDispatcher)
 
static setPsr17FactoryProvider (Psr17FactoryProviderInterface $psr17FactoryProvider)
 
static setResponseFactory (ResponseFactoryInterface $responseFactory)
 
static setRouteCollector (RouteCollectorInterface $routeCollector)
 
static setRouteResolver (RouteResolverInterface $routeResolver)
 
static setSlimHttpDecoratorsAutomaticDetection (bool $enabled)
 
static setStreamFactory (StreamFactoryInterface $streamFactory)
 

Static Protected Member Functions

static attemptResponseFactoryDecoration (ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory)
 

Static Protected Attributes

static CallableResolverInterface $callableResolver = null
 
static ContainerInterface $container = null
 
static MiddlewareDispatcherInterface $middlewareDispatcher = null
 
static Psr17FactoryProviderInterface $psr17FactoryProvider = null
 
static ResponseFactoryInterface $responseFactory = null
 
static RouteCollectorInterface $routeCollector = null
 
static RouteResolverInterface $routeResolver = null
 
static bool $slimHttpDecoratorsAutomaticDetectionEnabled = true
 
static StreamFactoryInterface $streamFactory = null
 

Member Function Documentation

◆ determineResponseFactory()

static Slim\Factory\AppFactory::determineResponseFactory ( )
static
Exceptions
RuntimeException

The documentation for this class was generated from the following file: