Код: Выделить всё
$center_found=Center::find(6);
echo " code from method 1 = ".$center_found->code;
echo " code from method 1 = ".$center_found['code'];
echo " type = ".gettype($center_found);
so
1) Какой тип возврата < /code>? < /p>
2).>
Подробнее здесь: https://stackoverflow.com/questions/457 ... hod-return
Мобильная версия