protected function getCallableName(\ReflectionFunctionAbstract $ref)
	{
		if($ref instanceof \ReflectionMethod)
		{
			return $ref->getDeclaringClass()->name . '->' . $ref->name . '()';
		}
		
		if($ref->isClosure())
		{
			return '*closure*';
		}
		
		return $ref->getName() . '()';
	}
protected function getCallableName(\ReflectionFunctionAbstract $ref)
	{
		if($ref instanceof \ReflectionMethod)
		{
			return $ref->getDeclaringClass()->name . '->' . $ref->name . '()';
		}
		
		if($ref->isClosure())
		{
			return '*closure*';
		}
		
		return $ref->getName() . '()';
	}
protected function getCallableName ( \ ReflectionFunctionAbstract $ ref ) { if ( $ ref instanceof \ ReflectionMethod ) { return $ ref -> getDeclaringClass ( ) -> name . '->' . $ ref -> name . '()' ; } if ( $ ref -> isClosure ( ) ) { return '*closure*' ; } return $ ref -> getName ( ) . '()' ; }
Get a human-readable name from a reflected callable.

@param \ReflectionFunctionAbstract $ref
@return string
Get a human - readable name from a reflected callable .