trait Illuminate / Cache / RetrievesMultipleKeys
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

RetrievesMultipleKeys

Methods

public

many ( array $keys ) : array

Retrieve multiple items from the cache by key.

Parameters

  • $keys array
public

putMany ( array $values , $seconds ) : bool

Store multiple items in the cache for a given number of seconds.

Parameters

  • $values array
  • $seconds int