HaxeAPI
  • Version 4.2.0
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.1
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class ReflectionMethod

package php.reflection

extends ReflectionFunctionAbstract

@:native("ReflectionMethod")

Available on php

Static variables

@:phpClassConststaticfinalread onlyIS_ABSTRACT:Int

@:phpClassConststaticfinalread onlyIS_FINAL:Int

@:phpClassConststaticfinalread onlyIS_PRIVATE:Int

@:phpClassConststaticfinalread onlyIS_PROTECTED:Int

@:phpClassConststaticfinalread onlyIS_PUBLIC:Int

@:phpClassConststaticfinalread onlyIS_STATIC:Int

Static methods

staticexport(className:String, name:String, ?returnValue:Bool):String

Constructor

new(cls:Dynamic, name:String)

Methods

getClosure(object:{}):Function

getDeclaringClass():ReflectionClass

getModifiers():Int

getPrototype():ReflectionMethod

invoke(object:{}, args:Rest<Dynamic>):Dynamic

invokeArgs(object:{}, args:NativeIndexedArray<Dynamic>):Dynamic

isAbstract():Bool

isConstructor():Bool

isDestructor():Bool

isFinal():Bool

isPrivate():Bool

isProtected():Bool

isPublic():Bool

isStatic():Bool

setAccessible(accessible:Bool):Void

Inherited Variables

Defined by ReflectionFunctionAbstract

name:String

Inherited Methods

Defined by ReflectionFunctionAbstract

@:phpMagic__toString():String

getClosureScopeClass():ReflectionClass

getClosureThis():Dynamic

getDocComment():String

getEndLine():Int

getExtensionName():String

getFileName():String

getName():String

getNamespaceName():String

getNumberOfParameters():Int

getNumberOfRequiredParameters():Int

getShortName():String

getStartLine():Int

getStaticVariables():NativeAssocArray<Dynamic>

hasReturnType():Bool

inNamespace():Bool

isClosure():Bool

isDeprecated():Bool

isGenerator():Bool

isInternal():Bool

isUserDefined():Bool

isVariadic():Bool

returnsReference():Bool

This documentation is generated for version 4.2.0

© 2024  Haxe Foundation | Contribute to Haxe