Kajona\Jsonapi\System\ObjectSerializer

The ObjectSerializer is based on the TemplateMapper. Returns all properties of an class which has an @jsonExport annotation. These properties are exposed through the json api

Synopsis

class ObjectSerializer {
  • // constants
  • const STR_ANNOTATION_JSONEXPORT = "@jsonExport";
}

Tasks

Line Task
25+ this class requires some cleanup, e.g. the removal of unused methods

Constants

Name Value
STR_ANNOTATION_JSONEXPORT "@jsonExport"

Members

private

  • $arrMapping
  • $objObject
    @var Root

Methods

private

public