【magento2.1源码分析】读取配置接口 ReaderInterface.php

<?php
/**
 * Scope Reader
 *
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Framework\App\Config\Scope;

/**
 * 读取配置接口
 * @package Magento\Framework\App\Config\Scope
 */
interface ReaderInterface
{
    /**
     * 读取配置
     * @param string|null $scopeType
     * @throws \Exception May throw an exception if the given scope is invalid
     * @return array
     */
    public function read($scopeType = null);
}

猜你喜欢

转载自blog.csdn.net/qq2942713658/article/details/81225977