original_string: private function packageAppDescription($app)
      {
          $record = [
              'name'                    => $app->name,
              'description'             => $app->description,
              'is_active'               => $app->is_active,
              'type'                    => $app->type,
              'path'                    => $app->path,
              'url'                     => $app->url,
              'requires_fullscreen'     => $app->requires_fullscreen,
              'allow_fullscreen_toggle' => $app->allow_fullscreen_toggle,
              'toggle_location'         => $app->toggle_location
          ];
  
          if (!$this->zip->addFromString('description.json', json_encode($record, JSON_UNESCAPED_SLASHES))) {
              throw new InternalServerErrorException("Can not include description in package file.");
          }
  
          return true;
      }
code: private function packageAppDescription($app)
      {
          $record = [
              'name'                    => $app->name,
              'description'             => $app->description,
              'is_active'               => $app->is_active,
              'type'                    => $app->type,
              'path'                    => $app->path,
              'url'                     => $app->url,
              'requires_fullscreen'     => $app->requires_fullscreen,
              'allow_fullscreen_toggle' => $app->allow_fullscreen_toggle,
              'toggle_location'         => $app->toggle_location
          ];
  
          if (!$this->zip->addFromString('description.json', json_encode($record, JSON_UNESCAPED_SLASHES))) {
              throw new InternalServerErrorException("Can not include description in package file.");
          }
  
          return true;
      }
code_tokens: private function packageAppDescription ( $ app ) { $ record = [ 'name' => $ app -> name , 'description' => $ app -> description , 'is_active' => $ app -> is_active , 'type' => $ app -> type , 'path' => $ app -> path , 'url' => $ app -> url , 'requires_fullscreen' => $ app -> requires_fullscreen , 'allow_fullscreen_toggle' => $ app -> allow_fullscreen_toggle , 'toggle_location' => $ app -> toggle_location ] ; if ( ! $ this -> zip -> addFromString ( 'description.json' , json_encode ( $ record , JSON_UNESCAPED_SLASHES ) ) ) { throw new InternalServerErrorException ( "Can not include description in package file." ) ; } return true ; }
docstring: Package app info for export.
  
  @param $app
  
  @return bool
  @throws \DreamFactory\Core\Exceptions\InternalServerErrorException
docstring_tokens: Package app info for export .