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 Filament\Forms\Components\Concerns; use Closure; trait HasPlaceholder {..

Decoded Output download

<?php

namespace Filament\Forms\Components\Concerns;

use Closure;

trait HasPlaceholder
{
    protected string | Closure | null $placeholder = null;

    public function placeholder(string | Closure | null $placeholder): static
    {
        $this->placeholder = $placeholder;

        return $this;
    }

    public function getPlaceholder(): ?string
    {
        return $this->evaluate($this->placeholder);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Filament\Forms\Components\Concerns;

use Closure;

trait HasPlaceholder
{
    protected string | Closure | null $placeholder = null;

    public function placeholder(string | Closure | null $placeholder): static
    {
        $this->placeholder = $placeholder;

        return $this;
    }

    public function getPlaceholder(): ?string
    {
        return $this->evaluate($this->placeholder);
    }
}

Function Calls

None

Variables

None

Stats

MD5 8a2eee472e3d21f4209b2a0fa43d8059
Eval Count 0
Decode Time 110 ms