Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
DI
Definition
Helper
ObjectDefinitionHelper
property
DI\Definition\Helper\ObjectDefinitionHelper::property PHP Метод
Документация по классу ObjectDefinitionHelper
Показать файл
Открыть проект
property()
публичный
Метод
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.
Результат
ObjectDefinitionHelper
public function property($property, $value) { $this->properties[$property] = $value; return $this; }
ObjectDefinitionHelper
__construct
constructor
constructorParameter
fixParameters
getDefinition
lazy
method
methodParameter
property
scope