Class DefaultMapper
Default IMapper implementation
- LeanMapper\DefaultMapper implements LeanMapper\IMapper
public
string
|
|
public
string
|
|
public
string
|
#
getEntityClass( string $table,
Gets fully qualified entity class name from given table name |
public
string
|
|
public
string
|
#
getEntityField( string $table, string $column )
Gets entity field (property) name from given table name and table column |
public
string
|
#
getRelationshipTable( string $sourceTable, string $targetTable )
Gets relationship table name from given source table name and target table name |
public
string
|
#
getRelationshipColumn( string $sourceTable, string $targetTable )
Gets name of column that contains foreign key from given source table name and target table name |
public
string
|
|
public
array|
|
#
getImplicitFilters( string $entityClass,
Gets filters that should be used used every time when given entity is loaded from database |
protected
string
|
protected
string
|
$defaultEntityNamespace
|
#
'Model\Entity'
|
protected
string
|
$relationshipTableGlue
|
#
'_'
|