Overview

Namespaces

  • Deimos
    • DI

Classes

  • Argument
  • ContainerEmpty
  • DI
  • Group
  • Instance
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class DI

Direct known subclasses

Deimos\DI\ContainerEmpty

Indirect known subclasses

Deimos\DI\Group
Abstract
Namespace: Deimos\DI
Located at DI/DI.php
Methods summary
public
# __construct( boolean $init = true )

Container constructor.

Container constructor.

Parameters

$init
public mixed
# call( string $name, array $arguments = [] )

Parameters

$name
$arguments

Returns

mixed
protected
# group( string $name, callable $callback )

Parameters

$name
$callback
protected
# steps( mixed & $row, array $keys )

Parameters

$row
$keys
protected
# build( $name, callable $callback )
protected
# path( $name )
protected
# getFirst( & $path )
public
# get( $name )
protected
# getInstance( $row )
public mixed
# __call( $name, array $arguments = [] )

Parameters

$name
$arguments

Returns

mixed
protected
# value( $name, $row, array $arguments = [] )

Parameters

$name
$row
$arguments
protected
# callback( $name, $callback )

Parameters

$name
$callback
protected
# instance( $name, $class, array $arguments = [] )
abstract protected
# configure( )

configure

configure

Properties summary
protected mixed[] $storage
# []
protected Deimos\DI\DI $self
#
API documentation generated by ApiGen