Todaymade\Daux\Config::shouldInheritIndex PHP Méthode

shouldInheritIndex() public méthode

public shouldInheritIndex ( )
    public function shouldInheritIndex()
    {
        // As the global configuration is always present, we
        // need to test for the existence of the legacy value
        // first. Then use the current value.
        if (array_key_exists('live', $this) && array_key_exists('inherit_index', $this['live'])) {
            return $this['live']['inherit_index'];
        }
        return $this['html']['inherit_index'];
    }