src/Sulu/Component/Content/Import/WebspaceImport.php
private function generateUrl($properties, $parentUuid, $webspaceKey, $locale, $format, $data)
    {
        $rlpParts = [];

        foreach ($properties as $property) {
            $rlpParts[] = $this->getParser($format)->getPropertyData(
                $property->getName(),
                $data,
                $property->getContentTypeName()
            );
        }

        $title = trim(implode(' ', $rlpParts));

        return $this->rlpStrategy->generate($title, $parentUuid, $webspaceKey, $locale);
    }
private function generateUrl($properties, $parentUuid, $webspaceKey, $locale, $format, $data)
    {
        $rlpParts = [];

        foreach ($properties as $property) {
            $rlpParts[] = $this->getParser($format)->getPropertyData(
                $property->getName(),
                $data,
                $property->getContentTypeName()
            );
        }

        $title = trim(implode(' ', $rlpParts));

        return $this->rlpStrategy->generate($title, $parentUuid, $webspaceKey, $locale);
    }
private function generateUrl ( $ properties , $ parentUuid , $ webspaceKey , $ locale , $ format , $ data ) { $ rlpParts = [ ] ; foreach ( $ properties as $ property ) { $ rlpParts [ ] = $ this -> getParser ( $ format ) -> getPropertyData ( $ property -> getName ( ) , $ data , $ property -> getContentTypeName ( ) ) ; } $ title = trim ( implode ( ' ' , $ rlpParts ) ) ; return $ this -> rlpStrategy -> generate ( $ title , $ parentUuid , $ webspaceKey , $ locale ) ; }
Generates a url by given strategy and property.

@param PropertyInterface[] $properties
@param string $parentUuid
@param string $webspaceKey
@param string $locale
@param string $format
@param array $data

@return string

@throws FormatImporterNotFoundException
Generates a url by given strategy and property .