src/Data/ModelId.php
public function getSerialized()
    {
        if (\is_numeric($this->modelId)) {
            return \sprintf('%s::%s', $this->dataProviderName, $this->modelId);
        }

        return \sprintf('%s::%s', $this->dataProviderName, \base64_encode(\json_encode($this->modelId)));
    }
public function getSerialized()
    {
        if (\is_numeric($this->modelId)) {
            return \sprintf('%s::%s', $this->dataProviderName, $this->modelId);
        }

        return \sprintf('%s::%s', $this->dataProviderName, \base64_encode(\json_encode($this->modelId)));
    }
public function getSerialized ( ) { if ( \ is_numeric ( $ this -> modelId ) ) { return \ sprintf ( '%s::%s' , $ this -> dataProviderName , $ this -> modelId ) ; } return \ sprintf ( '%s::%s' , $ this -> dataProviderName , \ base64_encode ( \ json_encode ( $ this -> modelId ) ) ) ; }
Serialize the id.

@return string
Serialize the id .