Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
add vhost config refs #1
Browse files Browse the repository at this point in the history
  • Loading branch information
goffyara committed Nov 1, 2017
1 parent f62cabb commit 200bfa9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Amqp.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Amqp extends Component
public $port;
public $user;
public $password;
public $vhost = '/';

private $_channel;
private $_connection;
Expand All @@ -25,7 +26,8 @@ public function getConnection() {
$this->host,
$this->port,
$this->user,
$this->password
$this->password,
$this->vhost
);

return $this->_connection;
Expand Down

0 comments on commit 200bfa9

Please sign in to comment.