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 Laravel\Scout\Tests\Fixtures; use Illuminate\Foundation\Auth\User as Aut..
Decoded Output download
<?php
namespace Laravel\Scout\Tests\Fixtures;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Scout\Searchable;
class User extends Authenticatable
{
use Searchable;
/**
* Get the indexable data array for the model.
*
* @return array<string, mixed>
*/
public function toSearchableArray(): array
{
return [
'id' => (int) $this->id,
'name' => $this->name,
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Laravel\Scout\Tests\Fixtures;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Scout\Searchable;
class User extends Authenticatable
{
use Searchable;
/**
* Get the indexable data array for the model.
*
* @return array<string, mixed>
*/
public function toSearchableArray(): array
{
return [
'id' => (int) $this->id,
'name' => $this->name,
];
}
}
Function Calls
None |
Stats
MD5 | 8e870e82095b298e552177289162268e |
Eval Count | 0 |
Decode Time | 85 ms |