Your IP : 18.118.208.127


Current Path : /home/lentoinv/props/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/
Upload File :
Current File : /home/lentoinv/props/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/resource.stub

<?php

namespace {{ namespace }};

use Illuminate\Http\Resources\Json\JsonResource;

class {{ class }} extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable
     */
    public function toArray($request)
    {
        return parent::toArray($request);
    }
}

?>