Created
January 11, 2016 08:57
-
-
Save Charlie-Lucas/7c1b370d08f3c02e2fc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function getById($id) | |
{ | |
$hash = "reference:" . $id; | |
return $this->unredislizeArray($this->redis->hgetall($hash)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment