core/web/Composition.php
public function createRouteEnsure(array $overrideKeys = [])
    {
        if (isset($overrideKeys['langShortCode'])) {
            $langShortCode = $overrideKeys['langShortCode'];
        } else {
            $langShortCode = $this->langShortCode;
        }
        return $this->hidden || (!$this->hidden && $langShortCode == $this->defaultLangShortCode && $this->hideDefaultPrefixOnly) ? '' : $this->createRoute($overrideKeys);
    }
public function createRouteEnsure(array $overrideKeys = [])
    {
        if (isset($overrideKeys['langShortCode'])) {
            $langShortCode = $overrideKeys['langShortCode'];
        } else {
            $langShortCode = $this->langShortCode;
        }
        return $this->hidden || (!$this->hidden && $langShortCode == $this->defaultLangShortCode && $this->hideDefaultPrefixOnly) ? '' : $this->createRoute($overrideKeys);
    }
public function createRouteEnsure ( array $ overrideKeys = [ ] ) { if ( isset ( $ overrideKeys [ 'langShortCode' ] ) ) { $ langShortCode = $ overrideKeys [ 'langShortCode' ] ; } else { $ langShortCode = $ this -> langShortCode ; } return $ this -> hidden || ( ! $ this -> hidden && $ langShortCode == $ this -> defaultLangShortCode && $ this -> hideDefaultPrefixOnly ) ? '' : $ this -> createRoute ( $ overrideKeys ) ; }
Create a route but ensures if composition is hidden anyhow.

@param array $overrideKeys
@return string
Create a route but ensures if composition is hidden anyhow .