Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Nelmio
Alice
Entity
StdClassFactory
PHP Класс Nelmio\Alice\Entity\StdClassFactory
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод
Описание
create
(
array
$attributes
= [] ) :
stdClass
Creates an stdClass instance with the given attributes. For example:
Описание методов
create()
публичный
статический
метод
$std = $factory->create(['foo' => 'bar', 'ping' => 'pong']); is equivalent to: $std = new \stdClass(); $std->foo = 'bar'; $std->ping = 'pong';
public
static
create
(
array
$attributes
= [] ) :
stdClass
$attributes
array
Результат
stdClass