You are here

public function Redis_Path_HashLookupInterface::lookupAlias in Redis 7.2

Same name and namespace in other branches
  1. 7.3 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
3 methods override Redis_Path_HashLookupInterface::lookupAlias()
Redis_Path_NullHashLookup::lookupAlias in lib/Redis/Path/NullHashLookup.php
Lookup any alias for the given source
Redis_Path_PhpRedis::lookupAlias in lib/Redis/Path/PhpRedis.php
Lookup any alias for the given source
Redis_Path_Predis::lookupAlias in lib/Redis/Path/Predis.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);