Method | Description | |
---|---|---|
check ( callable $f, callable $p = null, integer $n = 10 ) : array | Determine the generators needed to test the function $f and then use the predicate $p to assert correctness. | |
getReflection ( callable $f ) : ReflectionFunction | ReflectionMethod | Return the correct reflection class for the given callable. | |
register ( string $type, |
Associate a generator to a given type. | |
types ( callable $f ) : array | Return the types for the given callable. |
public static getReflection ( callable $f ) : ReflectionFunction | ReflectionMethod | ||
$f | callable | |
return | ReflectionFunction | ReflectionMethod |