コード例 #1
0
 function __construct(\Mongo $connection, $database, Application $app)
 {
     parent::__construct($connection, $database);
     $this->_collection = $this->getCollection();
     // $this->_securityContext = $securityContent;
     $this->_app = $app;
 }
コード例 #2
0
 function __construct(\Mongo $connexion, $database, $host = null, $apikey = null)
 {
     parent::__construct($connexion, $database);
     $this->akismetHost = $host;
     $this->akismetKey = $apikey;
 }