Class Application

Illuminate\Container\Container
Extended by Concrete\Core\Application\Application

Methods summary

public
# shutdown( array $options = array() )

Turns off the lights.

public
# clearCaches( )

Utility method for clearing all application caches.

protected
# handleScheduledJobs( )

If we have job scheduling running through the site, we check to see if it's time to go for it.

public
# isInstalled( )

Returns true if concrete5 is installed, false if it has not yet been.

public
# checkPageCache( Concrete\Core\Http\Request $request )

Checks to see whether we should deliver a concrete5 response from the page cache.

public
public
# setupPackageAutoloaders( )

Register package autoloaders. Has to come BEFORE session calls.

public
# setupPackages( )

Run startup and localization events on any installed packages.

public
# setupFilesystem( )

Ensure we have a cache directory.

public static
# isRunThroughCommandLineInterface( )

Returns true if the app is run through the command line.

public Concrete\Core\Routing\RedirectResponse
# handleURLSlashes( Symfony\Component\HttpFoundation\Request $request )

Using the configuration value, determines whether we need to redirect to a URL with a trailing slash or not.

public Concrete\Core\Routing\RedirectResponse
# handleCanonicalURLRedirection( Symfony\Component\HttpFoundation\Request $r )

If we have redirect to canonical host enabled, we need to honor it here.

public
# dispatch( Concrete\Core\Http\Request $request )

Inspects the request and determines what to serve.

protected
protected
public string|boolean
# environment( )

Get or check the current application environment.

public string
# detectEnvironment( array|string|Callable $environments )

Detect the application's current environment.

public mixed
# build( string $concrete, array $parameters = array() )

Instantiate a concrete instance of the given type.

Properties summary

protected $installed
# null
protected $environment
# null
protected array $packages
# array()