\"{$className}\" class doesn't contain the \"{$method}\" method."; // show an error $errorMethodInstance = new MXALFWPDisplayError( $errorNotice ); $errorMethodInstance->showError(); $this->errorInstance = $errorNotice; } } else { // notice of error $errorNotice = "The \"{$className}\" class not exists."; // show an error $errorClassInstance = new MXALFWPDisplayError( $errorNotice ); $errorClassInstance->showError(); $this->errorInstance = $errorNotice; } // return $this->errorInstance; } }