<?php
namespace Illuminate\Translation;
interface LoaderInterface
{// a trait like loader
/**
* Load the messages for the given locale.
*
* @param string $locale
* @param string $group
* @param string $namespace
* @return array
*/
public function load($locale, $group, $namespace = null);//
// to load the messages for the given locale.
/**
* Add a new namespace to the loader.
*
* @param string $namespace
* @param string $hint
* @return void
*/
public function addNamespace($namespace, $hint);
//addNamespace add a new namespace to the loader.
}
[李景山php]每天laravel-20161025|LoaderInterface.php
原创
©著作权归作者所有:来自51CTO博客作者lijingshan34的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章