exceptions example



    /** * Handles some basic app and environment setup. */
    public function initialize()
    {
        // Define environment variables         $this->bootstrapEnvironment();

        // Setup Exception Handling         Services::exceptions()->initialize();

        // Run this check for manual installations         if (is_file(COMPOSER_PATH)) {
            $this->resolvePlatformExtensions(); // @codeCoverageIgnore         }

        // Set default locale on the server         Locale::setDefault($this->config->defaultLocale ?? 'en');

        // Set default timezone on the server         date_default_timezone_set($this->config->appTimezone ?? 'UTC');

        
Home | Imprint | This part of the site doesn't use cookies.