PHP Class Bravo3\Orm\Mappers\Chained\ChainedMapper

Inheritance: extends Bravo3\Orm\Mappers\AbstractMapper
Afficher le fichier Open project: bravo3/orm

Protected Properties

Свойство Type Description
$mappers Bravo3\Orm\Mappers\MapperInterface[]

Méthodes publiques

Méthode Description
__construct ( array $mappers = [] )
getEntityMetadata ( string | object $entity ) : Entity Get the metadata for an entity, including column information
registerMapper ( Bravo3\Orm\Mappers\MapperInterface $mapper ) Register a new mapper

Method Details

__construct() public méthode

public __construct ( array $mappers = [] )
$mappers array

getEntityMetadata() public méthode

Get the metadata for an entity, including column information
public getEntityMetadata ( string | object $entity ) : Entity
$entity string | object Entity or class name of the entity
Résultat Bravo3\Orm\Mappers\Metadata\Entity

registerMapper() public méthode

Register a new mapper
public registerMapper ( Bravo3\Orm\Mappers\MapperInterface $mapper )
$mapper Bravo3\Orm\Mappers\MapperInterface

Property Details

$mappers protected_oe property

protected MapperInterface[],Bravo3\Orm\Mappers $mappers
Résultat Bravo3\Orm\Mappers\MapperInterface[]