<NME> transformer.stub
<BEF> <?php

$NAMESPACE$

use League\Fractal\TransformerAbstract;
use $MODEL$;

/**
 * Class $CLASS$Transformer.
 *
 * @package $NAMESPACE$
 */
{

    /**
     * Transform the \$CLASS$ entity
     * @param \$CLASS$ $model
     *
     * @return array
     */
     */
    public function transform($CLASS$ $model)
    {
        return [
            'id'         => (int) $model->id,

            /* place your other model properties here */

            'created_at' => $model->created_at,
            'updated_at' => $model->updated_at
        ];
    }
}

<MSG> Merge pull request #422 from qiutuleng/patch-1

Fix variable namespace error in comment
<DFF> @@ -13,8 +13,8 @@ class $CLASS$Transformer extends TransformerAbstract
 {
 
     /**
-     * Transform the \$CLASS$ entity
-     * @param \$CLASS$ $model
+     * Transform the $CLASS$ entity
+     * @param $MODEL$ $model
      *
      * @return array
      */

Merge pull request #422 from qiutuleng/patch-1