classes/Response.php
public static function load($data){
      $data = (object)$data;
      if (isset($data->head)) static::headers($data->head);
      if (isset($data->body)) static::body($data->body);
    }
public static function load($data){
      $data = (object)$data;
      if (isset($data->head)) static::headers($data->head);
      if (isset($data->body)) static::body($data->body);
    }
public static function load ( $ data ) { $ data = ( object ) $ data ; if ( isset ( $ data -> head ) ) static :: headers ( $ data -> head ) ; if ( isset ( $ data -> body ) ) static :: body ( $ data -> body ) ; }
Load response from a saved state

@method load

@param  array $data head/body saved state
Load response from a saved state