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\Admin\Http\Resources; use Illuminate\Http\Resources\Json\JsonReso..
Decoded Output download
<?php
namespace Webkul\Admin\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class AttributeResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request
* @return array
*/
public function toArray($request)
{
return [
'id' => $this->id,
'code' => $this->code,
'type' => $this->type,
'name' => $this->admin_name,
'options' => AttributeOptionResource::collection($this->options),
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\Admin\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class AttributeResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request
* @return array
*/
public function toArray($request)
{
return [
'id' => $this->id,
'code' => $this->code,
'type' => $this->type,
'name' => $this->admin_name,
'options' => AttributeOptionResource::collection($this->options),
];
}
}
Function Calls
None |
Stats
MD5 | fdf02f385fb5ed30031ef24dd5392343 |
Eval Count | 0 |
Decode Time | 86 ms |