Factory
用于获取 Registry 对象的工厂类
| 自版本 |
1.5.0 |
|---|---|
| 包 |
Joomla 框架 |
方法
getFormat
返回一个 FormatInterface 对象,仅在它不存在时才创建它。
getFormat( type, mixed||string|int options = []) : \Joomla\Registry\FormatInterface
静态
| 抛出 |
|
|---|---|
| 自版本 |
1.5.0 2.0.0 |
参数
- 类型
string要加载的格式- 选项
array<string|int, mixed>配置对象的附加选项
响应
FormatInterface注册表格式处理程序