code: private function getNonStaticPublicMethod($methodName, \ReflectionClass $reflect)
      {
          if ($reflect->hasMethod($methodName)) {
  
              $method = $reflect->getMethod($methodName);
  
              if ($method->isPublic() && ! $method->isStatic()) {
                  return $method;
              }
          }
  
          return null;
      }
docs: @param string           $methodName
  @param \ReflectionClass $reflect
  
  @return null|\ReflectionMethod