Function DecisionTree->__construct

Definitions

sources/decision_tree.php

  • Create a decision tree handler.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$decision_tree array No No required parameter N/A N/A Decision tree structure to work from
$default_screen ID_TEXT No No start N/A N/A Name of the default screen to start from

Preview

Code (PHP)

/**
 * Create a decision tree handler.
 *
 * @param  array $decision_tree Decision tree structure to work from
 * @param  ID_TEXT $default_screen Name of the default screen to start from
 */

public function __construct(array $decision_tree, string $default_screen = 'start')