DefaultRunner
class DefaultRunner implements RunInterface, ApplicationAwareInterface (View source)
Default HTTP Runner.
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
| protected Application | $app | from ApplicationAwareTrait | |
| protected Repository | $config | ||
| protected UrlResolverInterface | $urlResolver | ||
| protected Router | $router | ||
| protected Service | $siteService | ||
| protected EventDispatcher | $eventDispatcher | ||
| private ServerInterface | $server | 
Methods
Begin the runtime.
Define the base url if not defined
This will define BASE_URL to whatever is resolved from the resolver.
No description
No description
Set legacy config values
This sets concrete.site to the current site's sitename.
Create the request object to use.
Pre-load class aliases This is needed to avoid the problem of calling functions that accept a class alias as a parameter, but that alias isn't still auto-loaded. For example, that would result in the following error: Argument 1 passed to functionName() must be an instance of Area, instance of Concrete\Core\Area\Area given.
Try a list of steps. If a response is returned, halt progression and return the response;.
Get the default config repository to use.
Get the default router to use.
Get the default site service to use.
Details
        
                            
    setApplication(Application $app)
        
    
    Setter method for the application
        
                            
    __construct(ServerInterface $server)
        
    
    DefaultRunner constructor.
        
                            mixed
    run()
        
    
    Begin the runtime.
        
                    protected        Response|void
    initializeLegacyURLDefinitions()
        deprecated
    
    deprecated
Define the base url if not defined
This will define BASE_URL to whatever is resolved from the resolver.
        
                    protected        
    initializeSystemTimezone()
        
    
    No description
        
                    protected        
    initializeSiteTimezone()
        
    
    No description
        
                    protected        
    initializeTimezone()
        deprecated
    
    deprecated
No description
        
                    protected        
    setSystemLocale()
        deprecated
    
    deprecated
Initialize localization.
        
                    protected        Response|void
    registerLegacyConfigValues()
        deprecated
    
    deprecated
Set legacy config values
This sets concrete.site to the current site's sitename.
        
                    protected        
    createRequest()
        
    
    Create the request object to use.
        
                    protected        Response|void
    setupPackages()
        deprecated
    
    deprecated
Setup concrete5 packages.
        
                    protected        
    preloadClassAliases()
        deprecated
    
    deprecated
Pre-load class aliases This is needed to avoid the problem of calling functions that accept a class alias as a parameter, but that alias isn't still auto-loaded. For example, that would result in the following error: Argument 1 passed to functionName() must be an instance of Area, instance of Concrete\Core\Area\Area given.
        
                    protected        Response|void
    loadBootstrap()
        deprecated
    
    deprecated
Load in the /application/bootstrap/app.php file.
        
                    protected        Response|void
    handleUpdates()
        deprecated
    
    deprecated
Update automatically.
        
                    protected        Response|void
    handleEventing()
        deprecated
    
    deprecated
Fire HTTP events.
        
                    protected        Response|void
    handlePermissionKeys()
        deprecated
    
    deprecated
Load all permission keys.
        
                    protected        Response|null
    trySteps(array $steps)
        
    
    Try a list of steps. If a response is returned, halt progression and return the response;.
        
                    protected        Repository
    getConfig()
        deprecated
    
    deprecated
Get the config repository to use.
        
                        private    Repository
    getDefaultConfig()
        
    
    Get the default config repository to use.
        
                            $this
    setConfig(Repository $repository)
        deprecated
    
    deprecated
Set the config repository.
        
                    protected        Router
    getRouter()
        deprecated
    
    deprecated
Get the router to use.
        
                        private    Router
    getDefaultRouter()
        
    
    Get the default router to use.
        
                            $this
    setRouter(Router $router)
        deprecated
    
    deprecated
Set the router.
        
                    protected        Service
    getSiteService()
        deprecated
    
    deprecated
Get the site service to use.
        
                        private    Service
    getDefaultSiteService()
        
    
    Get the default site service to use.
        
                            $this
    setSiteService(Service $site)
        deprecated
    
    deprecated
Set the site service.
        
                    protected        UrlResolverInterface
    getUrlResolver()
        deprecated
    
    deprecated
Get the url resolver to use.
        
                        private    UrlResolverInterface
    getDefaultUrlResolver()
        deprecated
    
    deprecated
Get the default url resolver to use.
        
                            $this
    setUrlResolver(UrlResolverInterface $urlResolver)
        deprecated
    
    deprecated
Set the url resolver.
        
                    protected        EventDispatcher
    getEventDispatcher()
        deprecated
    
    deprecated
Get the url resolver to use.
        
                        private    EventDispatcher
    getDefaultEventDispatcher()
        deprecated
    
    deprecated
Get the default url resolver to use.
        
                            $this
    setEventDispatcher(EventDispatcher $urlResolver)
        deprecated
    
    deprecated
Set the url resolver.
        
                    protected        bool
    shouldProcessRequest(Request $request)
        
    
    No description