We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f07c34 commit dfcddfdCopy full SHA for dfcddfd
set.php
@@ -2,6 +2,9 @@
2
3
namespace JakeWhiteley\PhpSets;
4
5
+// incluse native-like helper functions
6
+require( __DIR__ . '/functions.php' );
7
+
8
/**
9
* PHP implementation of a Java like Set object
10
*
@@ -164,13 +167,3 @@ public function offsetUnset( $offset )
164
167
$this->size = $this->count();
165
168
}
166
169
-
-/**
- * An additional function which allows a non OOP initialization of the Set object
170
- *
171
- * @param mixed ...$args Values to initially add to the Set object
172
- */
173
-function set()
174
-{
175
- return ( new \ReflectionClass('Set') )->newInstanceArgs( func_get_args() );
176
-}
0 commit comments