You are here

public function Redis_Path_HashLookupInterface::lookupSource in Redis 7.2

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

Lookup any source for the given alias

First that has been inserted wins over the others

Parameters

string $alias:

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::lookupSource()
Redis_Path_NullHashLookup::lookupSource in lib/Redis/Path/NullHashLookup.php
Lookup any source for the given alias
Redis_Path_PhpRedis::lookupSource in lib/Redis/Path/PhpRedis.php
Lookup any source for the given alias
Redis_Path_Predis::lookupSource in lib/Redis/Path/Predis.php
Lookup any source for the given alias

File

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

Class

Redis_Path_HashLookupInterface
Very fast hash based lookup interface.

Code

public function lookupSource($alias, $language = null);