public function getPublicUrl($objectKey, $pk, $pluginProperties = null)
{
$definition = $this->getDefinition($objectKey);
if ($definition && ($callable = $definition->getPublicUrlGenerator())) {
$pk = $this->normalizePkString($objectKey, $pk);
return call_user_func_array($callable, array($objectKey, $pk, $pluginProperties));
}
return null;
}