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\Models; use Webkul\Core\Contracts\CountryState as CountrySta..

Decoded Output download

<?php

namespace Webkul\Core\Models;

use Webkul\Core\Contracts\CountryState as CountryStateContract;
use Webkul\Core\Eloquent\TranslatableModel;

class CountryState extends TranslatableModel implements CountryStateContract
{
    public $timestamps = false;

    public $translatedAttributes = ['default_name'];

    protected $with = ['translations'];

    /**
     * @return array
     */
    public function toArray()
    {
        $array = parent::toArray();

        $array['default_name'] = $this->default_name;

        return $array;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webkul\Core\Models;

use Webkul\Core\Contracts\CountryState as CountryStateContract;
use Webkul\Core\Eloquent\TranslatableModel;

class CountryState extends TranslatableModel implements CountryStateContract
{
    public $timestamps = false;

    public $translatedAttributes = ['default_name'];

    protected $with = ['translations'];

    /**
     * @return array
     */
    public function toArray()
    {
        $array = parent::toArray();

        $array['default_name'] = $this->default_name;

        return $array;
    }
}

Function Calls

None

Variables

None

Stats

MD5 7e45f5a3312d2d811efc79ab5b204e24
Eval Count 0
Decode Time 117 ms