src/Cms/ContextualTemplateTrait.php
public function setRouteGroup($path)
    {
        $group = $this->translator()->translation($path);

        foreach ($this->translator()->availableLocales() as $lang) {
            $group[$lang] = trim($group[$lang], '/');
        }

        $this->routeGroup = $group;

        return $this;
    }
public function setRouteGroup($path)
    {
        $group = $this->translator()->translation($path);

        foreach ($this->translator()->availableLocales() as $lang) {
            $group[$lang] = trim($group[$lang], '/');
        }

        $this->routeGroup = $group;

        return $this;
    }
public function setRouteGroup ( $ path ) { $ group = $ this -> translator ( ) -> translation ( $ path ) ; foreach ( $ this -> translator ( ) -> availableLocales ( ) as $ lang ) { $ group [ $ lang ] = trim ( $ group [ $ lang ] , '/' ) ; } $ this -> routeGroup = $ group ; return $ this ; }
Append a path to the base URI.

@param  string $path The base path.
@return self
Append a path to the base URI .