public function getInputsFromResult($inputResult)
    {
        $input_array = [];

        if (!isset($inputResult['inputs'])) {
            throw new \Exception('Inputs Not Found');
        }

        foreach ($inputResult['inputs'] as $rawInput) {
            $input = new Input($rawInput);
            $input_array[] = $input;
        }

        return $input_array;
    }
public function getInputsFromResult($inputResult)
    {
        $input_array = [];

        if (!isset($inputResult['inputs'])) {
            throw new \Exception('Inputs Not Found');
        }

        foreach ($inputResult['inputs'] as $rawInput) {
            $input = new Input($rawInput);
            $input_array[] = $input;
        }

        return $input_array;
    }
public function getInputsFromResult ( $ inputResult ) { $ input_array = [ ] ; if ( ! isset ( $ inputResult [ 'inputs' ] ) ) { throw new \ Exception ( 'Inputs Not Found' ) ; } foreach ( $ inputResult [ 'inputs' ] as $ rawInput ) { $ input = new Input ( $ rawInput ) ; $ input_array [ ] = $ input ; } return $ input_array ; }
Parses Request Result and gets Inputs

@param $inputResult

@return array

@throws \Exception
Parses Request Result and gets Inputs