PHP Classes

File: ANYEM_SHARED/anyem.resource.impl/ResponseWrapperImpl.php

Recommend this page to a friend!
  Classes of Anis Halayem  >  Anyem  >  ANYEM_SHARED/anyem.resource.impl/ResponseWrapperImpl.php  >  Download  
File: ANYEM_SHARED/anyem.resource.impl/ResponseWrapperImpl.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Anyem
Exchange variable values between PHP servers
Author: By
Last change:
Date: 4 years ago
Size: 968 bytes
 

Contents

Class file image Download
<?php
require_once (__DIR__ . '/../anyem.resource.api/IResponseWrapper.php');

class
ResponseWrapperImpl implements IResponseWrapper{
   
/**
     *
     * @var ResourceImpl
     */
   
private $_resource = NULL ;
   
   
/**
     *
     * @var string
     */
   
private $_error_message = NULL ;
   
   
/**
     *
     * @var int
     */
   
private $_response_code = NULL ;
   
    public function
setResource ($resource) {
       
$this->_resource = $resource ;
    }
    public function
setErrorMessage ($error_message) {
       
$this->_error_message = $error_message ;
    }
    public function
setResponseCode ($response_code) {
       
$this->_response_code = $response_code ;
    }
    public function
getResource () {
        return
$this->_resource;
    }
    public function
getErrorMessage () {
        return
$this->_error_message;
    }
    public function
getResponseCode () {
        return
$this->_response_code;
    }
}


For more information send a message to info at phpclasses dot org.