public function getPortals() { return $this->portals; }
/** * {@inheritdoc} */ public function getUrls(Webspace $webspace, $environment) { $urls = []; foreach ($webspace->getPortals() as $portal) { $urls = array_merge($urls, $portal->getEnvironment($environment)->getUrls()); } return $urls; }