DmitryDulepov\Realurl\Encoder\UrlEncoder::encodeFixedPostVars PHP Method

encodeFixedPostVars() protected method

Encodes fixed postVars.
protected encodeFixedPostVars ( ) : void
return void
    protected function encodeFixedPostVars()
    {
        $configuration = (array) $this->configuration->get('fixedPostVars');
        $postVarSetConfiguration = $this->getConfigurationForPostVars($configuration, $this->urlParameters['id']);
        if (count($postVarSetConfiguration) > 0) {
            $segments = $this->encodeUrlParameterBlock($postVarSetConfiguration);
            if (count($segments) > 0) {
                $this->appendToEncodedUrl(implode('/', $segments));
            }
        }
    }