interface UniqueKeyInterface (View source)

Interface UniqueKeyInterface

Useful when you want to implement your own custom service and use it instead of the default one (UniqueKeyService) your custom service needs to implement this interface

Methods

public
string
generateKey(DataObject $object, array $keyComponents = [])

Generate a unique key for data object

Details

string generateKey(DataObject $object, array $keyComponents = [])

Generate a unique key for data object

Parameters

DataObject $object
array $keyComponents

Return Value

string