private function finalise()
    {
        // Send output to email
        $this->emailOutput();

        // Call any callback defined
        if (is_callable($this->after)) {
            call_user_func($this->after, $this->output, $this->returnCode);
        }
    }
private function finalise()
    {
        // Send output to email
        $this->emailOutput();

        // Call any callback defined
        if (is_callable($this->after)) {
            call_user_func($this->after, $this->output, $this->returnCode);
        }
    }
private function finalise ( ) { // Send output to email $ this -> emailOutput ( ) ; // Call any callback defined if ( is_callable ( $ this -> after ) ) { call_user_func ( $ this -> after , $ this -> output , $ this -> returnCode ) ; } }
Finilise the job after execution.

@return void
Finilise the job after execution .