\Framework\ORM\AdapterORMAdapterFactory

Summary

Methods
Properties
Constants
createAdapter()
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

createAdapter()

createAdapter(string  $mode, mixed  $model = null) : \Framework\ORM\Adapter\ORMAdapterInterface

Parameters

string $mode

模式 (thinkORM / laravelORM)

mixed $model

模型类名或实例

Returns

\Framework\ORM\Adapter\ORMAdapterInterface —