<?php namespace yiiunit\data\ar\mongodb\file; /** * Test Mongo ActiveRecord */ class ActiveRecord extends \yii\mongodb\file\ActiveRecord { public static $db; public static function getDb() { return self::$db; } }