BearFramework\DataObject

BearFramework\DataObject implements ArrayAccess {

    
/* Methods */
    
public static object fromArray ( array $data )
    public static 
object fromJSON string $data )
    public array 
toArray void )
    public 
string toJSON void )

}
Implements
Methods
public static object fromArray ( array $data )
Creates an object and fills its properties from the array specified.
public static object fromJSON ( string $data )
Creates an object and fills its properties from the JSON specified.
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/DataObject.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.