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

/**
5 6
 * Interface BootstrapInterface
 * @package ACP3\Core\Application
7
 */
8
interface BootstrapInterface
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
{
    /**
     * Contains the current ACP3 version string
     */
    const VERSION = '4.0-dev';

    /**
     * Executes the application bootstrapping process and outputs the requested page
     */
    function run();

    /**
     * Performs some startup checks
     */
    function startUpChecks();

    /**
     * Sets up the current environment
     */
    function defineDirConstants();

    /**
     * Initializes the dependency injection container
     */
    function initializeClasses();

    /**
     * Handle the request and output the page
     */
    function outputPage();

    /**
     * @return \Symfony\Component\DependencyInjection\ContainerInterface
     */
    function getContainer();
}