Class

Closure

Synopsis

class Closure {

  • public static bind(mixed, mixed ...): mixed;
  • public static fromCallable(mixed): mixed;

}

Description

phpscript binds static methods on Closure and declares no type. new Closure() fails with an undefined class.

$value = Closure::bind($arguments);

Static methods

See also