Predis\Connection\ConnectionInterface::connect PHP Method

connect() public method

Opens the connection to Redis.
public connect ( )
    public function connect();

Usage Example

Example #1
0
 /**
  * Opens the underlying connection and connects to the server.
  */
 public function connect()
 {
     $this->connection->connect();
 }