WP_CLI\Iterators
CSV::rewind()
Method of the class: CSV{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CSV = new CSV(); $CSV->rewind();
CSV::rewind() CSV::rewind code WP-CLI 2.8.0-alpha
public function rewind() { rewind( $this->file_pointer ); $this->columns = fgetcsv( $this->file_pointer, self::ROW_SIZE, $this->delimiter ); $this->current_index = -1; $this->next(); }