skip to Main Content
author
125 views
1 vote

Php – Creating default object from empty value in YII2

Code that causes problem
foreach ($items as $itemData) {
$item = new PurchaseItem();

Back To Top
Search