ApacheAdapter::isSupported()

Determines if the adapter is supported.


Description

This happens if PHP is running as an Apache module.


Return

(bool)


Source

File: vendor/vlucas/phpdotenv/src/Environment/Adapter/ApacheAdapter.php

    public function isSupported()
    {
        return function_exists('apache_getenv') && function_exists('apache_setenv');
    }