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