YII2: Mengatur nilai default untuk semua atribut model

$customer = new Customer();
$customer->loadDefaultValues();
// $customer->xyz will be assigned the default value declared when defining the "xyz" column
Wicked Worm