VersionPress\Storages\MetaEntityStorage::createJoinedKey PHP Method

createJoinedKey() protected method

It's used in a parent entity file as key representing the entity.
protected createJoinedKey ( $key, $vpId ) : string
$key
$vpId
return string
    protected function createJoinedKey($key, $vpId)
    {
        return sprintf('%s#%s', $key, $vpId);
    }

Usage Example

Ejemplo n.º 1
0
 protected function createJoinedKey($key, $vpId)
 {
     $key = $this->maybeReplacePrefixWithPlaceholder($key);
     return parent::createJoinedKey($key, $vpId);
 }