WP_CLI

Configurator::arrayify()private staticWP-CLI 1.0

Conform a variable to an array.

Method of the class: Configurator{}

No Hooks.

Return

null. Nothing.

Usage

$result = Configurator::arrayify( $val );
$val(mixed) (required) (passed by reference — &)
A string or an array

Configurator::arrayify() code WP-CLI 2.8.0-alpha

private static function arrayify( &$val ) {
	$val = (array) $val;
}