Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DI
Definition
Helper
ObjectDefinitionHelper
property
DI\Definition\Helper\ObjectDefinitionHelper::property PHP Method
ObjectDefinitionHelper Class Documentation
Show file
Open project: mnapoli/php-di
property()
public
method
Defines a value to inject in a property of the object.
public
property
(
string
$property
,
mixed
$value
) :
ObjectDefinitionHelper
$property
string
Entry in which to inject the value.
$value
mixed
Value to inject in the property.
return
ObjectDefinitionHelper
public function property($property, $value) { $this->properties[$property] = $value; return $this; }
ObjectDefinitionHelper
__construct
constructor
constructorParameter
fixParameters
getDefinition
lazy
method
methodParameter
property
scope