src/frogsystem/spawn/Exceptions/ParameterResolutionException.php
protected function getReflectionFunctionName(\ReflectionFunctionAbstract $reflection)
    {
        // Class method
        if ($reflection instanceof \ReflectionMethod) {
            return $reflection->getDeclaringClass()->getName() . '::' . $reflection->getName();
        }
        return $reflection->getName();
    }
protected function getReflectionFunctionName(\ReflectionFunctionAbstract $reflection)
    {
        // Class method
        if ($reflection instanceof \ReflectionMethod) {
            return $reflection->getDeclaringClass()->getName() . '::' . $reflection->getName();
        }
        return $reflection->getName();
    }
protected function getReflectionFunctionName ( \ ReflectionFunctionAbstract $ reflection ) { // Class method if ( $ reflection instanceof \ ReflectionMethod ) { return $ reflection -> getDeclaringClass ( ) -> getName ( ) . '::' . $ reflection -> getName ( ) ; } return $ reflection -> getName ( ) ; }
Helper method to retrieve the name of a ReflectionFunctionAbstract
@param \ReflectionFunctionAbstract $reflection
@return string
Helper method to retrieve the name of a ReflectionFunctionAbstract