Is there any way that i can call the $template in one line in the following code

Notice: This thread is very old.
lobzang
Member | 6
+
0
-
$template->customerName = $customer->getCustomerName();
$template->customerStreet = $customer->getCustomerStreet();
$template->customerCity = $customer->getCustomerCity();
jiri.pudil
Nette Blogger | 1030
+
+1
-

You can use setParameters()