_entity

Get default entity object from the schema

Parameters
string $table

The mapped table name without prefix

#
string|null $dbNamespace = null

The current db namespace

#
Returns
object

The empty stdClass object with field names as properties