JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • AbstractRegistryFormat
  • Factory
  • Registry

Interfaces

  • FormatInterface

Class Factory

Factory class to fetch Registry objects

Namespace: Joomla\Registry
Since: 1.5.0
Located at vendor/joomla/registry/src/Factory.php

Methods summary

public static Joomla\Registry\FormatInterface
# getFormat( string $type, array $options = array() )

Returns an AbstractRegistryFormat object, only creating it if it doesn't already exist.

Returns an AbstractRegistryFormat object, only creating it if it doesn't already exist.

Parameters

$type
string - $type The format to load
$options
array - $options Additional options to configure the object

Returns

Joomla\Registry\FormatInterface - Registry format handler

Throws

InvalidArgumentException

Since

1.5.0

Magic methods summary

Properties summary

protected static Joomla\Registry\FormatInterface[] $formatInstances
#

Format instances container - for backward compatibility with AbstractRegistryFormat::getInstance().

Format instances container - for backward compatibility with AbstractRegistryFormat::getInstance().

Deprecated

2.0 Object caching will no longer be supported

Since

1.5.0
Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.