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\Core\Database\Factories; use Illuminate\Database\Eloquent\Factori..
Decoded Output download
<?php
namespace Webkul\Core\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Webkul\Core\Models\SubscribersList;
class SubscriberListFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = SubscribersList::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'email' => $this->faker->safeEmail(),
'channel_id' => core()->getCurrentChannel()->id,
'is_subscribed' => 1,
'token' => uniqid(),
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\Core\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Webkul\Core\Models\SubscribersList;
class SubscriberListFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = SubscribersList::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'email' => $this->faker->safeEmail(),
'channel_id' => core()->getCurrentChannel()->id,
'is_subscribed' => 1,
'token' => uniqid(),
];
}
}
Function Calls
None |
Stats
MD5 | ff30cc02106cd530d215f6fe262e1ac3 |
Eval Count | 0 |
Decode Time | 96 ms |