src/ReflectionTrait.php
protected function getMethodInstance(&$object, $methodName)
    {
        $method = new ReflectionMethod(get_class($object), $methodName);
        $method->setAccessible(true);

        return $method;
    }
protected function getMethodInstance(&$object, $methodName)
    {
        $method = new ReflectionMethod(get_class($object), $methodName);
        $method->setAccessible(true);

        return $method;
    }
protected function getMethodInstance ( & $ object , $ methodName ) { $ method = new ReflectionMethod ( get_class ( $ object ) , $ methodName ) ; $ method -> setAccessible ( true ) ; return $ method ; }
Internal method to get the `ReflectionMethod` instance
@param object $object Instantiated object that we will run method on
@param string $methodName Method name
@return ReflectionMethod
Internal method to get the ReflectionMethod instance