code: protected function getMethodParameters(Internal\ReflectionClassFactory $refl, $method)
      {
          return ($refl->hasMethod($method) ? $refl->getMethod($method)->getParameters() : null);
      }
docs: Get method parameters.
  
  @param \ReflectionClass $refl An reflection class instance.
  @param string $method The method name.
  @return array