public function __construct($collection, $cursor) { $this->collection = $collection; parent::__construct($cursor); }