- if ($class->hasMethod("attach") && !$class->implementsInterface("\\SplSubject")) {
- #printf("%s#%s\n", $class->getName(), "attach");
- $c = new http\Curl\Client;
- $c->setRequest(new http\Client\Request("GET", "http://localhost"));
- $unserialized->attach($c);
- }