| 1 | <?php |
||
| 21 | class Redis |
||
| 22 | { |
||
| 23 | use Bits; |
||
| 24 | use Connection; |
||
| 25 | use Geocoding; |
||
| 26 | use Hashes; |
||
| 27 | use HyperLogLogs; |
||
| 28 | use Introspection; |
||
| 29 | use Lists; |
||
| 30 | use Keys; |
||
| 31 | use Pubsub; |
||
| 32 | use Scripting; |
||
| 33 | use Sets; |
||
| 34 | use SortedSets; |
||
| 35 | use Streams; |
||
| 36 | use Strings; |
||
| 37 | use Transactions; |
||
| 38 | |||
| 39 | protected $redis; |
||
| 40 | |||
| 41 | public function __construct() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Check that the given array is associative. |
||
| 48 | * |
||
| 49 | * @param array $array |
||
| 50 | * |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | public function is_associative(array $array) |
||
| 57 | } |
||
| 58 |