Skip to content

Latest commit

 

History

History
255 lines (123 loc) · 5.62 KB

class.Core_Foundation_IoC_Container.md

File metadata and controls

255 lines (123 loc) · 5.62 KB

Class Core_Foundation_IoC_Container

2007-2015 PrestaShop

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade PrestaShop to newer versions in the future. If you wish to customize PrestaShop for your needs please refer to http://www.prestashop.com for more information.

Contents

Properties

Methods

Properties

$bindings

private mixed $bindings = array()

$instances

private mixed $instances = array()

$namespaceAliases

private mixed $namespaceAliases = array()

Methods

aliasNamespace

mixed Core_Foundation_IoC_Container::aliasNamespace($alias, $namespacePrefix)

Arguments

  • $alias mixed
  • $namespacePrefix mixed

bind

mixed Core_Foundation_IoC_Container::bind($serviceName, $constructor, $shared)

Arguments

  • $serviceName mixed
  • $constructor mixed
  • $shared mixed

doMake

mixed Core_Foundation_IoC_Container::doMake($serviceName, array $alreadySeen)

Arguments

  • $serviceName mixed
  • $alreadySeen array

knows

mixed Core_Foundation_IoC_Container::knows($serviceName)

Arguments

  • $serviceName mixed

knowsNamespaceAlias

mixed Core_Foundation_IoC_Container::knowsNamespaceAlias($alias)

Arguments

  • $alias mixed

make

mixed Core_Foundation_IoC_Container::make($serviceName)

Arguments

  • $serviceName mixed

makeInstanceFromClassName

mixed Core_Foundation_IoC_Container::makeInstanceFromClassName($className, array $alreadySeen)

Arguments

  • $className mixed
  • $alreadySeen array

resolveClassName

mixed Core_Foundation_IoC_Container::resolveClassName($className)

Arguments

  • $className mixed