Host::__construct PHP Méthode

__construct() public méthode

public __construct ( $host, $target, $log, $pwd = NULL )
    function __construct($host, $target, $log, $pwd = NULL)
    {
        $this->log = $log;
        $this->loud = $target['verbose'];
        $this->quiet = $target['quiet'];
        $this->user = $target['user'];
        $this->conn = $this->connect($host, $target, $pwd);
    }

Usage Example

 public function __construct($host = null, $port = 6379, $prefix = "")
 {
     parent::__construct($host, $port);
     $this->prefix = $prefix;
 }
All Usage Examples Of Host::__construct