public function init(array $rawData, ActionResponseInterface $actionResponse)
    {
        // Setting raw data field
        $this->rawData = $rawData;

        // Setting response fields
        $this->setDefaultResponseValues($actionResponse);

        // Setting the status
        $this->initStatusFromResponse();
    }
public function init(array $rawData, ActionResponseInterface $actionResponse)
    {
        // Setting raw data field
        $this->rawData = $rawData;

        // Setting response fields
        $this->setDefaultResponseValues($actionResponse);

        // Setting the status
        $this->initStatusFromResponse();
    }
public function init ( array $ rawData , ActionResponseInterface $ actionResponse ) { // Setting raw data field $ this -> rawData = $ rawData ; // Setting response fields $ this -> setDefaultResponseValues ( $ actionResponse ) ; // Setting the status $ this -> initStatusFromResponse ( ) ; }
Initializes the object fields with the given raw data

@param array                    $rawData        array containing the response raw data
@param ActionResponseInterface  $actionResponse the action response object from which to extract additional information

@return mixed
Initializes the object fields with the given raw data