code: public function getArg($name)
      {
          foreach ($this->args ?: [] as $arg) {
              /** @var FieldArgument $arg */
              if ($arg->name === $name) {
                  return $arg;
              }
          }
  
          return null;
      }
docs: @param string $name
  
  @return FieldArgument|null