original_string: public function transform($transformMode = '')
      {
          switch ($transformMode) {
              case ModelInterface::TRANSFORM_TO_JSON_ARRAY:
                  return json_encode($this->objectToArray($this));
              default:
                  return $this->objectToArray($this);
          }
      }
code: public function transform($transformMode = '')
      {
          switch ($transformMode) {
              case ModelInterface::TRANSFORM_TO_JSON_ARRAY:
                  return json_encode($this->objectToArray($this));
              default:
                  return $this->objectToArray($this);
          }
      }
code_tokens: public function transform ( $ transformMode = '' ) { switch ( $ transformMode ) { case ModelInterface :: TRANSFORM_TO_JSON_ARRAY : return json_encode ( $ this -> objectToArray ( $ this ) ) ; default : return $ this -> objectToArray ( $ this ) ; } }
docstring: get Outward presentation of object.
  
  @param $transformMode
  
  @return mixed
docstring_tokens: get Outward presentation of object .