<?php
/**
 * Created by PhpStorm.
 * User: hp
 * Date: 2017/11/21
 * Time: 11:05
 */

namespace App\Http\Controllers\Channel\Promotion\Transformers;


/**  原文引导
 * Class OriginalGuidesTransformer
 * @package App\Modules\Promotion\Transformers
 */
class OriginalGuidesTransformer
{
    public function transform($originalGuidesItem)
    {
        return [
            'id' => $originalGuidesItem->id,
            'content' => $originalGuidesItem->content
        ];
    }
}