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\Product\Database\Factories; use Illuminate\Database\Eloquent\Fact..
Decoded Output download
<?php
namespace Webkul\Product\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Webkul\Product\Models\ProductBundleOption;
class ProductBundleOptionsFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = ProductBundleOption::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'type' => $this->faker->randomElement(['select', 'radio', 'checkbox', 'multiselect']),
'is_required' => 0,
'sort_order' => 0,
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\Product\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Webkul\Product\Models\ProductBundleOption;
class ProductBundleOptionsFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = ProductBundleOption::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'type' => $this->faker->randomElement(['select', 'radio', 'checkbox', 'multiselect']),
'is_required' => 0,
'sort_order' => 0,
];
}
}
Function Calls
None |
Stats
MD5 | 844cacafb13678e8dd0521a159a999cf |
Eval Count | 0 |
Decode Time | 129 ms |