findUrls() public method

Returns a list of custom-urls.
public findUrls ( string $webspaceKey ) : string[]
$webspaceKey string
return string[]
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getUrls(Webspace $webspace, $environment)
 {
     $urls = [];
     foreach ($this->customUrlManager->findUrls($webspace->getKey()) as $customUrl) {
         $urls[] = new Url($customUrl, $environment);
     }
     return $urls;
 }