__construct() public method

public __construct ( MongoCurso\MongoCursor $mongoCursor, UnitOfWork $uow, ClassMetadata $class )
$mongoCursor MongoCurso\MongoCursor
$uow UnitOfWork
$class Doctrine\ODM\MongoDB\Mapping\ClassMetadata
 public function __construct(\MongoCursor $mongoCursor, UnitOfWork $uow, ClassMetadata $class, $loggerCallable, array $query, array $fields)
 {
     parent::__construct($mongoCursor, $uow, $class);
     $this->loggerCallable = $loggerCallable;
     $this->query = $query;
     $this->fields = $fields;
 }
Beispiel #2
0
 /** @override */
 public function __construct(Connection $connection, Collection $collection, UnitOfWork $uow, ClassMetadata $class, BaseCursor $baseCursor, array $query = array(), array $fields = array(), $numRetries = 0, $loggerCallable)
 {
     parent::__construct($connection, $collection, $uow, $class, $baseCursor, $query, $fields, $numRetries);
     $this->loggerCallable = $loggerCallable;
 }