$instance
$instance : \Phinx\Db\Adapter\AdapterFactory
Adapter factory and registry.
Used for registering adapters and creating instances of adapters.
$instance : \Phinx\Db\Adapter\AdapterFactory
instance() : \Phinx\Db\Adapter\AdapterFactory
Get the factory singleton instance.
getAdapter(string $name, array $options) : \Phinx\Db\Adapter\AdapterInterface
Get an adapter instance by name.
string | $name | |
array | $options |
getWrapper(string $name, \Phinx\Db\Adapter\AdapterInterface $adapter) : \Phinx\Db\Adapter\AdapterInterface
Get a wrapper instance by name.
string | $name | |
\Phinx\Db\Adapter\AdapterInterface | $adapter |