Code: Select all
$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);
Also
1) Was ist der Rückgabetyp von Find < /code>? < /p>
2) variiert der Rückgabetyp jemals, außer wenn kein Matching -Ergebnis vorhanden ist? < /p>