Open Data Catalog v2.0.0
Drupal\datastore\Storage\TableSummary Class Reference
Inheritance diagram for Drupal\datastore\Storage\TableSummary:

Public Member Functions

 __construct (int $numOfColumns, array $columns, int $numOfRows)
 
 jsonSerialize ()
 

Public Attributes

 $numOfColumns
 
 $columns
 
 $numOfRows
 

Detailed Description

Simple object for storing summary information.

Todo:
Use JSON Schema maybe to validate this?

Definition at line 10 of file TableSummary.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\datastore\Storage\TableSummary::__construct ( int  $numOfColumns,
array  $columns,
int  $numOfRows 
)

Constructor.

Definition at line 18 of file TableSummary.php.

Member Function Documentation

◆ jsonSerialize()

Drupal\datastore\Storage\TableSummary::jsonSerialize ( )

Inherited.

{}

Definition at line 29 of file TableSummary.php.

Member Data Documentation

◆ $columns

Drupal\datastore\Storage\TableSummary::$columns

Definition at line 12 of file TableSummary.php.

◆ $numOfColumns

Drupal\datastore\Storage\TableSummary::$numOfColumns

Definition at line 11 of file TableSummary.php.

◆ $numOfRows

Drupal\datastore\Storage\TableSummary::$numOfRows

Definition at line 13 of file TableSummary.php.