mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
load countries
This commit is contained in:
parent
062d2c0ef3
commit
a614bdd271
@ -19,6 +19,9 @@ class LoadCountries extends AbstractFixture {
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager) {
|
||||
|
||||
echo "loading countries... \n";
|
||||
|
||||
foreach ($this->countries as $code => $name) {
|
||||
$country = new \CL\Chill\MainBundle\Entity\Country();
|
||||
$country->setLabel(ucwords($name));
|
||||
|
Loading…
x
Reference in New Issue
Block a user