Danack / FunctionTypes

php needs function types
MIT License
3 stars 2 forks source link

Reflection support #8

Open Danack opened 4 years ago

Danack commented 4 years ago

Need to provide basic outline of reflection for most use-cases.

typedef foo = callable(int $x, string $y):  int ;

// reflection on type foo.

function bar(foo $fn)
{
  // reflection on $fn
}