api/Foundation/Responses/FortifiApiResponse.php
public function prepareForTransport()
  {
    foreach($this as $k => $v)
    {
      if($v instanceof FortifiApiResponse)
      {
        $v->prepareForTransport();
      }
      else if(is_array($v))
      {
        foreach($v as $vi => $vv)
        {
          if($vv instanceof FortifiApiResponse)
          {
            $vv->prepareForTransport();
          }
        }
      }
    }
  }
public function prepareForTransport()
  {
    foreach($this as $k => $v)
    {
      if($v instanceof FortifiApiResponse)
      {
        $v->prepareForTransport();
      }
      else if(is_array($v))
      {
        foreach($v as $vi => $vv)
        {
          if($vv instanceof FortifiApiResponse)
          {
            $vv->prepareForTransport();
          }
        }
      }
    }
  }
public function prepareForTransport ( ) { foreach ( $ this as $ k => $ v ) { if ( $ v instanceof FortifiApiResponse ) { $ v -> prepareForTransport ( ) ; } else if ( is_array ( $ v ) ) { foreach ( $ v as $ vi => $ vv ) { if ( $ vv instanceof FortifiApiResponse ) { $ vv -> prepareForTransport ( ) ; } } } } }
Executed before sending the response
Executed before sending the response