WP_CLI\Iterators

Transform::current()publicWP-CLI 1.0

Method of the class: Transform{}

No Hooks.

Return

null. Nothing.

Usage

$Transform = new Transform();
$Transform->current();

Transform::current() code WP-CLI 2.8.0-alpha

public function current() {
	$value = parent::current();

	foreach ( $this->transformers as $fn ) {
		$value = call_user_func( $fn, $value );
	}

	return $value;
}