Data\Bundle\Reader\JsonBundleReader (Component\Intl)

Symfony\Component\Intl\Data\Bundle\Reader\JsonBundleReader

class JsonBundleReader implements BundleReaderInterface

Reads .json resource bundles.

Methods

mixed read(string $path, string $locale)

Reads a resource bundle.

Details

public mixed read(string $path, string $locale)

Reads a resource bundle.

Parameters

string $path The path to the resource bundle.
string $locale The locale to read.

Return Value

mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/Data/Bundle/Reader/JsonBundleReader.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部