BootstrapInterface.php 978 Bytes
Newer Older
1
<?php
2
namespace ACP3\Core\Application;
3

4
use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
5 6 7
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;

8
/**
9 10
 * Interface BootstrapInterface
 * @package ACP3\Core\Application
11
 */
12
interface BootstrapInterface extends HttpKernelInterface
13 14 15 16
{
    /**
     * Contains the current ACP3 version string
     */
Tino Goratsch's avatar
Tino Goratsch committed
17
    const VERSION = '4.8.2';
18 19 20 21

    /**
     * Performs some startup checks
     */
Tino Goratsch's avatar
Tino Goratsch committed
22
    public function startUpChecks();
23 24 25

    /**
     * Initializes the dependency injection container
26
     * @param SymfonyRequest $symfonyRequest
27
     * @return void
28
     */
29
    public function initializeClasses(SymfonyRequest $symfonyRequest);
30 31 32

    /**
     * Handle the request and output the page
33
     * @return Response
34
     */
Tino Goratsch's avatar
Tino Goratsch committed
35
    public function outputPage();
36 37 38 39

    /**
     * @return \Symfony\Component\DependencyInjection\ContainerInterface
     */
Tino Goratsch's avatar
Tino Goratsch committed
40 41
    public function getContainer();
}