Skip to content

Commit

Permalink
Implement options for Bridge #10
Browse files Browse the repository at this point in the history
  • Loading branch information
fadion committed Mar 21, 2015
1 parent c2ef4c7 commit 2f6d2d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Fadion/Maneuver/Maneuver.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ public function start()
// case it's build as an array.
foreach ($servers as $name => $credentials) {
try {
$options = isset($credentials['options']) ? $credentials['options'] : array();

// Connect to the server using the selected
// scheme and options.
$bridge = new Bridge(http_build_url('', $credentials));
$bridge = new Bridge(http_build_url('', $credentials), $options);
}
catch (Exception $e) {
print "Oh snap: {$e->getMessage()}";
Expand Down

0 comments on commit 2f6d2d1

Please sign in to comment.