You are here

public function Redis_Path_HashLookupInterface::lookupAlias in Redis 7.3

Same name and namespace in other branches
  1. 7.2 lib/Redis/Path/HashLookupInterface.php \Redis_Path_HashLookupInterface::lookupAlias()

Lookup any alias for the given source

First that has been inserted wins over the others

Parameters

string $source:

string $language:

Return value

string|null|false

  • The string value if found
  • null if not found
  • false if set as non existing
2 methods override Redis_Path_HashLookupInterface::lookupAlias()
Redis_Path_AbstractHashLookup::lookupAlias in lib/Redis/Path/AbstractHashLookup.php
Lookup any alias for the given source
Redis_Path_NullHashLookup::lookupAlias in lib/Redis/Path/NullHashLookup.php
Lookup any alias for the given source

File

lib/Redis/Path/HashLookupInterface.php, line 93

Class

Redis_Path_HashLookupInterface
Very fast hash based lookup interface.

Code

public function lookupAlias($source, $language = null);