public function getBundleNames() { $names = array(); foreach ($this->bundles as $bundle) { $names[] = $bundle->getName(); } return $names; }