autoloadKint example

if ($missingExtensions !== []) {
            throw FrameworkException::forMissingExtension(implode(', ', $missingExtensions));
        }
    }

    /** * Initializes Kint */
    protected function initializeKint()
    {
        if (CI_DEBUG) {
            $this->autoloadKint();
            $this->configureKint();
        } elseif (class_exists(Kint::class)) {
            // In case that Kint is already loaded via Composer.             Kint::$enabled_mode = false;
            // @codeCoverageIgnore         }

        helper('kint');
    }

    private function autoloadKint(): void
    {
Home | Imprint | This part of the site doesn't use cookies.