src/snac/server/identityReconciliation/ReconciliationEngine.php
/**
     * Add post-processing stage
     *
     * Adds a stage to the list of stages to run
     *
     * @param string $stage name of the stage to include
     */
Add post-processing stage
Adds a stage to the list of stages to run

@param string $stage name of the stage to include
Add post - processing stage Adds a stage to the list of stages to run @param string $stage name of the stage to include
public function addPostProcessingStage($stage) {
        $class = new \ReflectionClass("\\snac\\server\\identityReconciliation\\stages\\".$stage);
        if (func_num_args() < 2) {
            array_push($this->postProcessingTests, $class->newInstance());
        } else {
            $args = func_get_args();
            array_shift($args);
            array_push($this->postProcessingTests, $class->newInstanceArgs($args));
        }
    }
public function addPostProcessingStage ( $ stage ) { $ class = new \ ReflectionClass ( " \\ snac \\ server \\ identityReconciliation \\ stages \\ " . $ stage ) ; if ( func_num_args ( ) < 2 ) { array_push ( $ this -> postProcessingTests , $ class -> newInstance ( ) ) ; } else { $ args = func_get_args ( ) ; array_shift ( $ args ) ; array_push ( $ this -> postProcessingTests , $ class -> newInstanceArgs ( $ args ) ) ; } }
Add post-processing stage
 Adds a stage to the list of stages to run
Add post - processing stage Adds a stage to the list of stages to run
// Load the class as a reflection // If only one argument, then create with no params // If more than one argument, the rest are parameters to the constructor // Remove the class name off the list // Instantiate and add the class with the args