remove FluentlyCallable interface
authorMichael Wallner <mike@php.net>
Wed, 27 Jul 2011 14:37:46 +0000 (14:37 +0000)
committerMichael Wallner <mike@php.net>
Wed, 27 Jul 2011 14:37:46 +0000 (14:37 +0000)
config9.m4
php_http.c
php_http.h
php_http_cookie.c
php_http_message.c
php_http_querystring.c
php_http_request.c
php_http_request_pool.c

index a6155d7fbad276149b5abc3af31cbec5c4a9b7d8..f9f3a47277798ae956b66ffdb33243ed420c08bc 100644 (file)
@@ -434,7 +434,6 @@ dnl ----
                php_http_etag.c \
                php_http_exception.c \
                php_http_filter.c \
-               php_http_fluently_callable.c \
                php_http_headers.c \
                php_http_header_parser.c \
                php_http_info.c \
@@ -478,7 +477,6 @@ dnl ----
                php_http_etag.h \
                php_http_exception.h \
                php_http_filter.h \
-               php_http_fluently_callable.h \
                php_http_headers.h \
                php_http_header_parser.h \
                php_http_info.h \
index 0b47165a3c1c319cbde7e8d42f998d1ed5a350e8..fb49548a7ce8a9d19a2a3179ed77fb733d277a9c 100644 (file)
@@ -135,7 +135,6 @@ PHP_MINIT_FUNCTION(http)
        REGISTER_INI_ENTRIES();
        
        if (0
-       || SUCCESS != PHP_MINIT_CALL(http_fluently_callable)
        || SUCCESS != PHP_MINIT_CALL(http_object)
        || SUCCESS != PHP_MINIT_CALL(http_exception)
        || SUCCESS != PHP_MINIT_CALL(http_persistent_handle)
index 7c966fc3efa22f39d4d76ba50144ca37904e1692..4d2b92962ae5063aacd97c46d18544be72989fb3 100644 (file)
@@ -90,7 +90,6 @@ extern void _dpf(int type, const char *data, size_t length);
 #include "php_http_env_response.h"
 #include "php_http_etag.h"
 #include "php_http_exception.h"
-#include "php_http_fluently_callable.h"
 #include "php_http_filter.h"
 #include "php_http_headers.h"
 #include "php_http_info.h"
index cf5e56ceba1b55612adb73cd85f9320dbffb7300..35b372886de9567bcc6efe68ee26f9325ddfd49f 100644 (file)
@@ -933,7 +933,6 @@ PHP_METHOD(HttpCookie, toArray)
 PHP_MINIT_FUNCTION(http_cookie)
 {
        PHP_HTTP_REGISTER_CLASS(http, Cookie, http_cookie, php_http_object_class_entry, 0);
-       zend_class_implements(php_http_cookie_class_entry TSRMLS_CC, 1, php_http_fluently_callable_class_entry);
        php_http_cookie_class_entry->create_object = php_http_cookie_object_new;
        memcpy(&php_http_cookie_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
        php_http_cookie_object_handlers.clone_obj = php_http_cookie_object_clone;
index ad08d7fc38fe72e2a60a2ef7267f6bf51850f23e..0d11d0168ae0b53fe15988bd6748265ad7727022 100644 (file)
@@ -948,7 +948,7 @@ PHP_MINIT_FUNCTION(http_message)
        php_http_message_object_handlers.get_properties = php_http_message_object_get_props;
        php_http_message_object_handlers.get_property_ptr_ptr = php_http_message_object_get_prop_ptr;
 
-       zend_class_implements(php_http_message_class_entry TSRMLS_CC, 3, spl_ce_Countable, zend_ce_serializable, zend_ce_iterator, php_http_fluently_callable_class_entry);
+       zend_class_implements(php_http_message_class_entry TSRMLS_CC, 3, spl_ce_Countable, zend_ce_serializable, zend_ce_iterator);
 
        zend_hash_init(&php_http_message_object_prophandlers, 9, NULL, NULL, 1);
        zend_declare_property_long(php_http_message_class_entry, ZEND_STRL("type"), PHP_HTTP_NONE, ZEND_ACC_PROTECTED TSRMLS_CC);
index 5f6748263349951d6155ed5daee7634f173ce082..ab2bc3d384c89099cc301f3a8d7882d1f9305f72 100644 (file)
@@ -302,7 +302,7 @@ PHP_MINIT_FUNCTION(http_querystring)
 {
        PHP_HTTP_REGISTER_CLASS(http, QueryString, http_querystring, php_http_object_class_entry, 0);
        
-       zend_class_implements(php_http_querystring_class_entry TSRMLS_CC, 4, php_http_fluently_callable_class_entry, zend_ce_serializable, zend_ce_arrayaccess, zend_ce_aggregate);
+       zend_class_implements(php_http_querystring_class_entry TSRMLS_CC, 3, zend_ce_serializable, zend_ce_arrayaccess, zend_ce_aggregate);
        
        zend_declare_property_null(php_http_querystring_class_entry, ZEND_STRL("instance"), (ZEND_ACC_STATIC|ZEND_ACC_PRIVATE) TSRMLS_CC);
        zend_declare_property_null(php_http_querystring_class_entry, ZEND_STRL("queryArray"), ZEND_ACC_PRIVATE TSRMLS_CC);
index 56d6033f5471410893363ca8caa64f08fa9f3656..d3ac782c793202830bdd8c7e7caec7c0aae08054 100644 (file)
@@ -1289,7 +1289,7 @@ PHP_MINIT_FUNCTION(http_request)
        memcpy(&php_http_request_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
        php_http_request_object_handlers.clone_obj = php_http_request_object_clone;
 
-       zend_class_implements(php_http_request_class_entry TSRMLS_CC, 2, spl_ce_SplSubject, php_http_fluently_callable_class_entry);
+       zend_class_implements(php_http_request_class_entry TSRMLS_CC, 1, spl_ce_SplSubject);
 
        zend_declare_property_null(php_http_request_class_entry, ZEND_STRL("observers"), ZEND_ACC_PRIVATE TSRMLS_CC);
        zend_declare_property_null(php_http_request_class_entry, ZEND_STRL("options"), ZEND_ACC_PRIVATE TSRMLS_CC);
index 7e3e1b802942d80e7f7cf25bc83cef4f4e7a4928..e06bcb0e16df3387da7ff4dec81a74efdcd9a04d 100644 (file)
@@ -559,7 +559,7 @@ PHP_MINIT_FUNCTION(http_request_pool)
        memcpy(&php_http_request_pool_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
        php_http_request_pool_object_handlers.clone_obj = NULL;
 
-       zend_class_implements(php_http_request_pool_class_entry TSRMLS_CC, 3, spl_ce_Countable, zend_ce_iterator, php_http_fluently_callable_class_entry);
+       zend_class_implements(php_http_request_pool_class_entry TSRMLS_CC, 2, spl_ce_Countable, zend_ce_iterator);
 
        return SUCCESS;
 }