Модули c namespace
This commit is contained in:
parent
0f4b2fb722
commit
e9f7c23990
11 changed files with 92 additions and 80 deletions
|
|
@ -88,7 +88,7 @@ class __compose {
|
|||
|
||||
class Functions {
|
||||
|
||||
static function partial() {
|
||||
static function partial($_rest) {
|
||||
$closure = new __partial(func_get_args());
|
||||
return array($closure, 'apply');
|
||||
}
|
||||
|
|
@ -101,7 +101,7 @@ class Functions {
|
|||
*
|
||||
* @return array[int]mixed
|
||||
*/
|
||||
static function compose() {
|
||||
static function compose($_rest) {
|
||||
$closure = new __compose(func_get_args());
|
||||
return array($closure, 'apply');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue