ConfigRuntimeInterface.php 543 Bytes
<?php
namespace Consolidation\Config\Util;

use Consolidation\Config\Config;
use Consolidation\Config\ConfigInterface;

/**
 * ConfigRutimeInterface provides a method that returns those elements
 * of the configuration that were set at runtime, e.g. via commandline
 * options rather than being loaded from a file.
 */
interface ConfigRuntimeInterface
{
    /**
     * runtimeConfig returns those elements of the configuration not
     * loaded from a file.
     *
     * @return ConfigInterface
     */
    public function runtimeConfig();
}