Heystack\Core\DataObjectSchema\JsonDataObjectSchema
Uses json files to provide a schema for dataobject class creation
- Author: Cam Spiers <cameron@heyday.co.nz>
Synopsis
class JsonDataObjectSchema
extends FileDataObjectSchema
{
- // members
- protected static array $errors = ;
- // methods
- protected array parseFile()
- protected string getLastJsonError()
- // Inherited methods from FileDataObjectSchema
- public void __construct()
- protected abstract array parseFile()
- public Identifier getIdentifier()
- public array getFlatStorage()
- public array getParentStorage()
- public array getChildStorage()
- public void setReference()
- public bool getReference()
- public void setReplace()
- public bool getReplace()
- public void mergeSchema()
Hierarchy
Members
protected
- $errors
—
array
List of json errors
Methods
protected
- getLastJsonError() — Get the last error
- parseFile()