Skip to content

Commit 5d1f7f8

Browse files
authored
Create functions.php
1 parent dfcddfd commit 5d1f7f8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

functions.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
/**
4+
* An additional function which allows a non OOP initialization of the Set object
5+
*
6+
* @param mixed ...$args Values to initially add to the Set object
7+
*/
8+
function set()
9+
{
10+
return ( new \ReflectionClass('Set') )->newInstanceArgs( func_get_args() );
11+
}

0 commit comments

Comments
 (0)