ソースを参照

mongoCollection attribute visibility changed to protected so subclasses can access this attribute to query the database

Gabriel Ricci 12 年 前
コミット
d346c2e815
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Monolog/Handler/MongoDBHandler.php

+ 1 - 1
src/Monolog/Handler/MongoDBHandler.php

@@ -27,7 +27,7 @@ use Monolog\Formatter\NormalizerFormatter;
  */
 class MongoDBHandler extends AbstractProcessingHandler
 {
-    private $mongoCollection;
+    protected $mongoCollection;
 
     public function __construct($mongo, $database, $collection, $level = Logger::DEBUG, $bubble = true)
     {