method
__method__

__method__()
public
Returns the name of the current method as a Symbol. If called outside of a method, it returns nil.
__method__()
public
Returns the name of the current method as a Symbol. If called outside of a method, it returns nil.