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 declare(strict_types=1); namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsC..

Decoded Output download

<?php

declare(strict_types=1);

namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\LaravelCustomCasts\Casts;

use Illuminate\Contracts\Database\Eloquent\CastsAttributes;

class CustomCasterWithParam implements CastsAttributes
{
    public function __construct(string $param)
    {
    }

    public function get($model, string $key, $value, array $attributes): CastedProperty
    {
        return new CastedProperty();
    }

    public function set($model, string $key, $value, array $attributes)
    {
        // TODO: Implement set() method.
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\LaravelCustomCasts\Casts;

use Illuminate\Contracts\Database\Eloquent\CastsAttributes;

class CustomCasterWithParam implements CastsAttributes
{
    public function __construct(string $param)
    {
    }

    public function get($model, string $key, $value, array $attributes): CastedProperty
    {
        return new CastedProperty();
    }

    public function set($model, string $key, $value, array $attributes)
    {
        // TODO: Implement set() method.
    }
}

Function Calls

None

Variables

None

Stats

MD5 62e8ed3acd367f0dc58e8c40e2a0509a
Eval Count 0
Decode Time 97 ms