WP_CLI
ProcessRun::__construct
Method of the class: ProcessRun{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ProcessRun = new ProcessRun(); $ProcessRun->__construct( $props );
- $props(array) (required)
- Properties of executed command.
ProcessRun::__construct() ProcessRun:: construct code WP-CLI 2.13.0-alpha
public function __construct( $props ) {
foreach ( $props as $key => $value ) {
$this->$key = $value;
}
}