Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add array key retrieval functionality #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremylivingston
Copy link
Collaborator

Allows users to supply an array of keys that will be retrieved. The prefix will be applied and removed from the result keys if it exists.

@jeremylivingston
Copy link
Collaborator Author

Resolves #16

return $this->mem->get($key);
}

return false;
if (!is_array($key)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If instead of using \Memcache class, you use \Memcached, this functionality is already included: http://php.net/manual/en/memcached.getmulti.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants