\Vegas\Db\Adapter\MongoAdapterTrait

Trait AdapterTrait

Should be use for classes that use Mongo database adapter

Summary

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

verifyRequiredServices()

verifyRequiredServices(\Phalcon\DiInterface $di)

Verifies required services for Mongo adapter

Parameters

\Phalcon\DiInterface $di

Throws

\Vegas\Db\Exception\NoRequiredServiceException

setupExtraServices()

setupExtraServices(\Phalcon\DiInterface $di)

Setups extra services (if not exist) required by mongo service

Parameters

\Phalcon\DiInterface $di