The App.php in the 'app' folder is the bootstrap script to your application.

It is responsible for loading:

When your program demands so, you can add new features related to the subjects above in this file.
It is a class of which an object is created in the index.php in the public folder of your application.


define('INC_ROOT', dirname(__FILE__, 3) . '/private_server');

require INC_ROOT . '/vendor/autoload.php';

$app = (new \App\App())->get();

/* PHP dynamic SASS Compiler */
if ($app->getContainer()['mode'] === 'development') {
    SassCompiler::run("assets/scss/", "assets/css/", 'scss_formatter_compressed');

Last update: Tue, 13 Sep 2022 14:32:15