eZ\Publish\Core\REST\Client\Tests\IdManager::generateId PHP Method

generateId() public method

Generates a repository specific ID for an object of $type from the database ID $rawId.
public generateId ( string $type, mixed $rawId ) : mixed
$type string
$rawId mixed
return mixed
    public function generateId($type, $rawId)
    {
        return $this->requestParser->generate($type, array($type => $rawId));
    }