Beispiel #1
0
/**
 * Creates a new n-ary functor from a given callable.
 *
 * @param callable $functor
 *            The fiven callable.
 * @return NaryFunktionInterface
 */
function NaryFunktion(callable $functor) : NaryFunktionInterface
{
    return Callables::newNaryFunktion($functor);
}