Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Added docblocs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Oct 4, 2017
1 parent 31ac2f6 commit bd7ab45
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
27 changes: 26 additions & 1 deletion src/Data.php 100644 → 100755
@@ -1,11 +1,36 @@
<?php
namespace WPGraphQL\Extensions\Insights;

/**
* Class Data
*
* @package WPGraphQL\Extensions\Insights
*/
class Data {

/**
*
* @var string The GraphQL request operation name
* @access public
*/
public static $operation_name;

/**
* @var string $document The GraphQL request document
* @access public
*/
public static $document;

/**
* @var array $variables The GraphQL request variables
* @access public
*/
public static $variables;

/**
* @var array $trace_report The trace report compiled as the GraphQL request is executed
* @access public
*/
public static $trace_report;

/**
Expand Down Expand Up @@ -41,4 +66,4 @@ protected static function get_resolver_name( $resolver ) {
return $name;
}

}
}
2 changes: 1 addition & 1 deletion src/InstrumentSchema.php 100644 → 100755
Expand Up @@ -155,4 +155,4 @@ public static function wrap_field_resolvers( $fields, $type_name ) {

}

}
}
2 changes: 1 addition & 1 deletion src/Tracing.php 100644 → 100755
Expand Up @@ -289,4 +289,4 @@ public static function add_tracing_to_response_extensions( $response, $schema, $
return $response;
}

}
}

0 comments on commit bd7ab45

Please sign in to comment.