Jobs/RegenerateCategoryFullSlugs.php
private function getSlugForCategory(int $categoryId, string $locale): string
    {
        $reversed = array_reverse(
            $this->getSlugParts($categoryId, $locale)
        );

        return implode('/', $reversed);
    }
private function getSlugForCategory(int $categoryId, string $locale): string
    {
        $reversed = array_reverse(
            $this->getSlugParts($categoryId, $locale)
        );

        return implode('/', $reversed);
    }
private function getSlugForCategory ( int $ categoryId , string $ locale ) : string { $ reversed = array_reverse ( $ this -> getSlugParts ( $ categoryId , $ locale ) ) ; return implode ( '/' , $ reversed ) ; }
Build full slug for category

@param int $categoryId
@param string $locale
@return string
Build full slug for category