summaryrefslogtreecommitdiff
path: root/src/parametersimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parametersimpl.h')
-rw-r--r--src/parametersimpl.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/parametersimpl.h b/src/parametersimpl.h
deleted file mode 100644
index fd14238..0000000
--- a/src/parametersimpl.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ParametersImpl.h
- *
- * Extended parameters class that can be instantiated
- *
- * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
- * @copyright 2013 Copernica BV
- */
-
-/**
- * Set up namespace
- */
-namespace Php {
-
-/**
- * Class definition
- */
-class ParametersImpl : public Parameters
-{
-public:
- /**
- * Constructor
- * @param this_ptr Pointer to the object
- * @param argc Number of arguments
- * @param tsrm_ls
- */
- ParametersImpl(zval *this_ptr, int argc TSRMLS_DC) : Parameters(this_ptr ? ObjectImpl::find(this_ptr TSRMLS_CC)->object() : nullptr)
- {
- // reserve plenty of space
- reserve(argc);
-
- // loop through the arguments
- for (int i=0; i<argc; i++)
- {
- // get the argument
- zval **arg = (zval **) (zend_vm_stack_top(TSRMLS_C) - 1 - (argc-i));
-
- // append value
- push_back(Value(*arg));
- }
- }
-
- /**
- * Destructor
- */
- virtual ~ParametersImpl() {}
-};
-
-/**
- * End of namespace
- */
-}
-