src/Resource/JsonApiDocumentTopLevel.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Resource/JsonApiDocumentTopLevel.php b/src/Resource/JsonApiDocumentTopLevel.php index 40ab87c..9aad1a5 100644 --- a/src/Resource/JsonApiDocumentTopLevel.php +++ b/src/Resource/JsonApiDocumentTopLevel.php @@ -8,6 +8,9 @@ namespace Drupal\jsonapi\Resource; * @see http://jsonapi.org/format/#document-top-level * * @internal + * + * @todo Add the missing required members: 'error' and 'meta' or document why not. + * @todo Add support for the missing optional members: 'jsonapi', 'links' and 'included' or document why not. */ class JsonApiDocumentTopLevel { @@ -19,7 +22,7 @@ class JsonApiDocumentTopLevel { protected $data; /** - * Instantiates a DocumentRootNormalizerValue object. + * Instantiates a JsonApiDocumentTopLevel object. * * @param \Drupal\Core\Entity\EntityInterface|\Drupal\jsonapi\EntityCollectionInterface $data * The data to normalize. It can be either a straight up entity or a