\Vegas\DbMappingManager

Class MappingManager

Summary

Methods
Properties
Constants
add()
remove()
find()
getMappers()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

add()

add( $mappingClass) : $this

Adds new mapping class

Parameters

$mappingClass

Object or full class name is acceptable

Throws

\Vegas\Db\Exception\InvalidMappingClassException

Returns

$this

remove()

remove( $mappingName) : $this

Removes mapper indicated by name

Parameters

$mappingName

Returns

$this

find()

find( $mappingName) : boolean

Finds the mapper by its name

Parameters

$mappingName

Throws

\Vegas\Db\Exception\MappingClassNotFoundException

Returns

boolean

getMappers()

getMappers() : array

Returns list of available mappers

Returns

array