Overview

Namespaces

  • Inlm
    • Mappers

Classes

  • CamelCaseMapper
  • DefaultMapper
  • DynamicMapper
  • PrefixMapper
  • UnderScoreMapper

Exceptions

  • DuplicateException
  • Exception
  • InvalidArgumentException
  • Overview
  • Namespace
  • Class

Class PrefixMapper

Inlm\Mappers\PrefixMapper implements LeanMapper\IMapper
Namespace: Inlm\Mappers
Located at PrefixMapper.php
Methods summary
public
# __construct( string|null $prefix = '', LeanMapper\IMapper $fallback = NULL )

Parameters

$prefix
$fallback
public
# getPrimaryKey( $table )

Inheritdoc

public
# getTable( $entityClass )

Inheritdoc

public
# getEntityClass( $table, LeanMapper\Row $row = NULL )

Inheritdoc

public
# getColumn( $entityClass, $field )

Inheritdoc

public
# getEntityField( $table, $column )

Inheritdoc

public
# getRelationshipTable( $sourceTable, $targetTable )

Inheritdoc

public
# getRelationshipColumn( $sourceTable, $targetTable )

Inheritdoc

public
# getTableByRepositoryClass( $repositoryClass )

Inheritdoc

public
# getImplicitFilters( $entityClass, LeanMapper\Caller $caller = null )
protected string
# removePrefix( string $table )

Parameters

$table

Returns

string
Properties summary
protected string $prefix
#
protected LeanMapper\IMapper $fallback
#
protected integer $prefixLength
#
inlm/mappers master API documentation API documentation generated by ApiGen