Created
August 17, 2012 09:25
-
-
Save notomato/3377378 to your computer and use it in GitHub Desktop.
Service with custom request class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$service = new Service(array( | |
'scheme' => 'https', | |
'host' => 'web.service.com', | |
'username' => 'user', | |
'password' => 's3kr1t', | |
'classes' => array( | |
'request' => 'my\custom\Request' | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment