Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
DI
Definition
Helper
ObjectDefinitionHelper
__construct
DI\Definition\Helper\ObjectDefinitionHelper::__construct PHP Method
ObjectDefinitionHelper Class Documentation
ファイルを表示
Open project: mnapoli/php-di
__construct()
public
method
Helper for defining an object.
public
__construct
(
string
|
null
$className
= null )
$className
string
|
null
Class name of the object. If null, the name of the entry (in the container) will be used as class name.
public function __construct($className = null) { $this->className = $className; }
ObjectDefinitionHelper
__construct
constructor
constructorParameter
fixParameters
getDefinition
lazy
method
methodParameter
property
scope