Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

EnvVarLoaderInterface.php

Namespace

Symfony\Component\DependencyInjection

File

vendor/symfony/dependency-injection/EnvVarLoaderInterface.php

View source
<?php


/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Symfony\Component\DependencyInjection;


/**
 * EnvVarLoaderInterface objects return key/value pairs that are added to the list of available env vars.
 *
 * @author Nicolas Grekas <p@tchwork.com>
 */
interface EnvVarLoaderInterface {
    
    /**
     * @return array<string|\Stringable> Key/value pairs that can be accessed using the regular "%env()%" syntax
     */
    public function loadEnvVars() : array;

}

Interfaces

Title Deprecated Summary
EnvVarLoaderInterface EnvVarLoaderInterface objects return key/value pairs that are added to the list of available env vars.
RSS feed
Powered by Drupal