BearFramework\App\DataItem

A data item.
BearFramework\App\DataItem {

    
/* Properties */
    
public string|null $key
    
public BearFramework\DataObject $metadata
    
public string|null $value

    
/* Methods */
    
public __construct void )
    public array 
toArray void )
    public 
string toJSON void )

}
Properties
public string|null $key
The key of the data item.
public BearFramework\DataObject $metadata
The metadata of the data item.
public string|null $value
The value of the data item.
Methods
public __construct ( void )
public array toArray ( void )
Returns the object data converted as an array.
public string toJSON ( void )
Returns the object data converted as JSON.
Details
Location: ~/src/App/DataItem.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.