aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php')
-rw-r--r--apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php b/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php
deleted file mode 100644
index de4ab036044..00000000000
--- a/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Iterator/MethodProxyIterator.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace Guzzle\Iterator;
-
-/**
- * Proxies missing method calls to the innermost iterator
- */
-class MethodProxyIterator extends \IteratorIterator
-{
- /**
- * Proxy method calls to the wrapped iterator
- *
- * @param string $name Name of the method
- * @param array $args Arguments to proxy
- *
- * @return mixed
- */
- public function __call($name, array $args)
- {
- $i = $this->getInnerIterator();
- while ($i instanceof \OuterIterator) {
- $i = $i->getInnerIterator();
- }
-
- return call_user_func_array(array($i, $name), $args);
- }
-}