protected final function GatherOutput()
    {
        \header('Content-Type: application/json');
        try
        {
            $this->output = json_encode($this->result);
        }
        catch (\Exception $ex)
        {
            $this->AttachException($ex);
        }
    }
protected final function GatherOutput()
    {
        \header('Content-Type: application/json');
        try
        {
            $this->output = json_encode($this->result);
        }
        catch (\Exception $ex)
        {
            $this->AttachException($ex);
        }
    }
protected final function GatherOutput ( ) { \ header ( 'Content-Type: application/json' ) ; try { $ this -> output = json_encode ( $ this -> result ) ; } catch ( \ Exception $ ex ) { $ this -> AttachException ( $ ex ) ; } }
Gathers the output by encoding the result to json
Gathers the output by encoding the result to json