Blame view

public/vendor/illuminate/contracts/Redis/Connector.php 636 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  <?php
  
  namespace Illuminate\Contracts\Redis;
  
  interface Connector
  {
      /**
       * Create a connection to a Redis cluster.
       *
       * @param  array  $config
       * @param  array  $options
       * @return \Illuminate\Redis\Connections\Connection
       */
      public function connect(array $config, array $options);
  
      /**
       * Create a connection to a Redis instance.
       *
       * @param  array  $config
       * @param  array  $clusterOptions
       * @param  array  $options
       * @return \Illuminate\Redis\Connections\Connection
       */
      public function connectToCluster(array $config, array $clusterOptions, array $options);
  }