__construct()
__construct(\Phinx\Db\Adapter\AdapterInterface $adapter)
Class constructor, must always wrap another adapter.
Parameters
\Phinx\Db\Adapter\AdapterInterface | $adapter |
Wrapper Interface.
__construct(\Phinx\Db\Adapter\AdapterInterface $adapter)
Class constructor, must always wrap another adapter.
\Phinx\Db\Adapter\AdapterInterface | $adapter |
setAdapter(\Phinx\Db\Adapter\AdapterInterface $adapter) : \Phinx\Db\Adapter\AdapterInterface
Sets the database adapter to proxy commands to.
\Phinx\Db\Adapter\AdapterInterface | $adapter |
getAdapter() : \Phinx\Db\Adapter\AdapterInterface
Gets the database adapter.
if the adapter has not been set