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 RouterInterface | $router | ||
| protected Service | $siteService | ||
| protected EventDispatcherInterface | $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.
Register routes that power legacy functionality
This includes /tools/tool_handle and /tools/blocks/block_handle/tool_handle.
Create the request object to use.
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        Response|void
    registerLegacyRoutes()
        deprecated
    
    deprecated
Register routes that power legacy functionality
This includes /tools/tool_handle and /tools/blocks/block_handle/tool_handle.
        
                    protected        
    createRequest()
        
    
    Create the request object to use.
        
                    protected        Response|void
    setupPackages()
        deprecated
    
    deprecated
Setup concrete5 packages.
        
                    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        RouterInterface
    getRouter()
        deprecated
    
    deprecated
Get the router to use.
        
                        private    RouterInterface
    getDefaultRouter()
        
    
    Get the default router to use.
        
                            $this
    setRouter(RouterInterface $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        EventDispatcherInterface
    getEventDispatcher()
        deprecated
    
    deprecated
Get the url resolver to use.
        
                        private    EventDispatcherInterface
    getDefaultEventDispatcher()
        deprecated
    
    deprecated
Get the default url resolver to use.
        
                            $this
    setEventDispatcher(EventDispatcherInterface $urlResolver)
        deprecated
    
    deprecated
Set the url resolver.