예제 #1
0
파일: core.php 프로젝트: no22/gongo
 public function getNumberOfParameters()
 {
     $arity = Gongo_Fn::arity($this->callback);
     return !is_null($arity) ? $arity - count($this->arguments) : null;
 }
예제 #2
0
파일: Curry.php 프로젝트: no22/gongo
 function __construct($callback)
 {
     $this->callback = $callback;
     $this->arity = Gongo_Fn::arity($callback);
 }