Phive\Queue\Tests\Handler\MongoHandler::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->mongoClient = new \MongoClient($this->getOption('server'));
        $this->coll = $this->mongoClient->selectCollection($this->getOption('db_name'), $this->getOption('coll_name'));
        $this->coll->ensureIndex(['eta' => 1]);
    }