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;
    }
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;
    }
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 ; }
Package app info for export.

@param $app

@return bool
@throws \DreamFactory\Core\Exceptions\InternalServerErrorException
Package app info for export .