src/League/Monga/Collection.php
public function indexes(Closure $callback)
    {
        $indexes = new Query\Indexes($this->collection);
        $callback($indexes);

        return $this;
    }
public function indexes(Closure $callback)
    {
        $indexes = new Query\Indexes($this->collection);
        $callback($indexes);

        return $this;
    }
public function indexes ( Closure $ callback ) { $ indexes = new Query \ Indexes ( $ this -> collection ) ; $ callback ( $ indexes ) ; return $ this ; }
Manipulate collection indexes

@param Closure $callback callback

@return object $this
Manipulate collection indexes