_entity

Get default entity object from the schema

Parameters
string $table

The mapped table name without prefix

#
array $data = []

Array of default data

#
string|null $dbNamespace = null

The current db namespace

#
Returns
object

The empty stdClass object with field names as properties