Вход Регистрация
Файл: system/vendor/laminas/laminas-config-aggregator/src/ArrayProvider.php
Строк: 35
<?php

/**
 * @see       https://github.com/laminas/laminas-config-aggregator for the canonical source repository
 * @copyright https://github.com/laminas/laminas-config-aggregator/blob/master/COPYRIGHT.md
 * @license   https://github.com/laminas/laminas-config-aggregator/blob/master/LICENSE.md New BSD License
 */

namespace LaminasConfigAggregator;

/**
 * Provider that returns the array seeded to itself.
 *
 * Primary use case is configuration cache-related settings.
 */
class ArrayProvider
{
    
/**
     * @var array
     */
    
private $config;

    
/**
     * @param array $config
     */
    
public function __construct(array $config)
    {
        
$this->config $config;
    }

    
/**
     * @return array
     */
    
public function __invoke()
    {
        return 
$this->config;
    }
}
Онлайн: 0
Реклама