phpstorm:
foreach($orders as $v){
echo $v->title;
}
At this time, the type of $v is not known, and IDE cannot prompt.
Can be changed to this ( bean claw )
/ ** arvar $ v Order * /
foreach ($orders as $v){$v->id; }
phpstorm:
foreach($orders as $v){
echo $v->title;
}
At this time, the type of $v is not known, and IDE cannot prompt.
Can be changed to this ( bean claw )
/ ** arvar $ v Order * /
foreach ($orders as $v){$v->id; }