public function setEntryPoints(array $entryPoints = null) { $this->entryPoints = $entryPoints; if ($this->entryPoints) { foreach ($this->entryPoints as $entryPoint) { $entryPoint->setBundle($this); } } }