2
0

ReflectionFunctionAbstract.hx 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package php.reflection;
  2. @:native('ReflectionFunctionAbstract')
  3. extern class ReflectionFunctionAbstract implements Reflector {
  4. var name : String;
  5. function getClosureScopeClass() : ReflectionClass;
  6. function getClosureThis() : Dynamic;
  7. function getDocComment() : String;
  8. function getEndLine() : Int;
  9. // function getExtension() : ReflectionExtension;
  10. function getExtensionName() : String;
  11. function getFileName() : String;
  12. function getName() : String;
  13. function getNamespaceName() : String;
  14. function getNumberOfParameters() : Int;
  15. function getNumberOfRequiredParameters() : Int;
  16. // function getParameters() : NativeIndexedArray<ReflectionParameter>;
  17. // function getReturnType() : ReflectionType;
  18. function getShortName() : String;
  19. function getStartLine() : Int;
  20. function getStaticVariables() : NativeAssocArray<Dynamic>;
  21. function hasReturnType() : Bool;
  22. function inNamespace() : Bool;
  23. function isClosure() : Bool;
  24. function isDeprecated() : Bool;
  25. function isGenerator() : Bool;
  26. function isInternal() : Bool;
  27. function isUserDefined() : Bool;
  28. function isVariadic() : Bool;
  29. function returnsReference() : Bool;
  30. @:phpMagic function __toString() : String;
  31. }