Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Webkul\Sales\Transformers; use Illuminate\Http\Resources\Json\JsonResour..

Decoded Output download

<?php

namespace Webkul\Sales\Transformers;

use Illuminate\Http\Resources\Json\JsonResource;

class OrderPaymentResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'method'       => $this->method,
            'method_title' => $this->method_title,
        ];
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webkul\Sales\Transformers;

use Illuminate\Http\Resources\Json\JsonResource;

class OrderPaymentResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'method'       => $this->method,
            'method_title' => $this->method_title,
        ];
    }
}

Function Calls

None

Variables

None

Stats

MD5 eb561e084f4767f294e3595fbfd459ae
Eval Count 0
Decode Time 93 ms