Permalink
Browse files

Move SplSubject back to Request (wrong thinking)

  • Loading branch information...
1 parent 1664e98 commit e7712aad6d11bd7ec432aeb9a49122a3e79e417d @beberlei committed Mar 25, 2012
Showing with 12 additions and 2 deletions.
  1. +12 −2 http.php
View
@@ -383,7 +383,7 @@ public function offsetUnset($offset) {
}
namespace http\Client {
- interface HttpClient implements \SplSubject
+ interface HttpClient
{
public function createPool(\http\Request $request1 = NULL, \http\Request $request2 = NULL, \http\Request $requestN = NULL);
public function createDataShare(\http\Request $request1 = NULL, \http\Request $request2 = NULL, \http\Request $requestN = NULL);
@@ -399,7 +399,7 @@ function http_client_get_available_drivers();
}
namespace http {
- class Request extends \http\Object
+ class Request extends \http\Object implements \SplSubject
{
private $observers;
private $options;
@@ -419,6 +419,16 @@ class Request extends \http\Object
private function __construct() {
}
+ public function getObservers() {
+ }
+ public function notify() {
+ }
+ public function attach(\SplObserver $observer) {
+ }
+ public function detach(\SplObserver $observer) {
+ }
+ public function getProgress() {
+ }
public function getTransferInfo($name = NULL) {
}
public function setOptions($options = NULL) {

0 comments on commit e7712aa

Please sign in to comment.