yii\mongodb\file\Cursor::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Collection $collection, MongoDB\Driver\Cursor $cursor )
$collection Collection
$cursor MongoDB\Driver\Cursor
    public function __construct($collection, $cursor)
    {
        $this->collection = $collection;
        parent::__construct($cursor);
    }