src/Reaction.php
public static function initBasic(Composer\Autoload\ClassLoader $composer = null, $configsPath = null, $appType = StaticApplicationInterface::APP_TYPE_WEB)
    {
        if (!isset($composer)) {
            $composer = static::locateClassLoader();
        }
        if (!isset($configsPath)) {
            $configsPath = static::locateConfigsPath();
        }
        if (!isset($composer)) {
            throw new \Reaction\Exceptions\InvalidArgumentException("Missing \$composer option");
        }
        if (!isset($configsPath)) {
            throw new \Reaction\Exceptions\InvalidArgumentException("Missing \$configsPath option");
        }
        static::$composer = $composer;
        static::$configsPath = $configsPath;
        static::$appType = $appType;
        static::initConfigReader();
        static::initAnnotationReader();
        static::initContainer();
    }
public static function initBasic(Composer\Autoload\ClassLoader $composer = null, $configsPath = null, $appType = StaticApplicationInterface::APP_TYPE_WEB)
    {
        if (!isset($composer)) {
            $composer = static::locateClassLoader();
        }
        if (!isset($configsPath)) {
            $configsPath = static::locateConfigsPath();
        }
        if (!isset($composer)) {
            throw new \Reaction\Exceptions\InvalidArgumentException("Missing \$composer option");
        }
        if (!isset($configsPath)) {
            throw new \Reaction\Exceptions\InvalidArgumentException("Missing \$configsPath option");
        }
        static::$composer = $composer;
        static::$configsPath = $configsPath;
        static::$appType = $appType;
        static::initConfigReader();
        static::initAnnotationReader();
        static::initContainer();
    }
Initialize basic components
@param \Composer\Autoload\ClassLoader|null $composer
@param string|null                         $configsPath
@param string                              $appType