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

  • Container

Interfaces

  • ContainerAwareInterface
  • ServiceProviderInterface

Traits

  • ContainerAwareTrait

Interface ContainerAwareInterface

Defines the interface for a Container Aware class.

Namespace: Joomla\DI
Since: 1.0
Located at vendor/joomla/di/src/ContainerAwareInterface.php

Methods summary

public Joomla\DI\Container
# getContainer( )

Get the DI container.

Get the DI container.

Returns

Joomla\DI\Container

Throws

UnexpectedValueException - May be thrown if the container has not been set.

Since

1.0
public mixed
# setContainer( Joomla\DI\Container $container )

Set the DI container.

Set the DI container.

Parameters

$container
Joomla\DI\Container - $container The DI container.

Returns

mixed

Since

1.0

Magic methods summary

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.