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\Infolists\Components\Concerns; use Filament\Infolists\Component..

Decoded Output download

<?php

namespace Filament\Infolists\Components\Concerns;

use Filament\Infolists\ComponentContainer;
use Filament\Infolists\Infolist;
use Livewire\Component;

trait BelongsToContainer
{
    protected ComponentContainer $container;

    public function container(ComponentContainer $container): static
    {
        $this->container = $container;

        return $this;
    }

    public function getContainer(): ComponentContainer
    {
        return $this->container;
    }

    public function getInfolist(): Infolist
    {
        return $this->getContainer()->getInfolist();
    }

    public function getLivewire(): ?Component
    {
        return $this->getContainer()->getLivewire();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Filament\Infolists\Components\Concerns;

use Filament\Infolists\ComponentContainer;
use Filament\Infolists\Infolist;
use Livewire\Component;

trait BelongsToContainer
{
    protected ComponentContainer $container;

    public function container(ComponentContainer $container): static
    {
        $this->container = $container;

        return $this;
    }

    public function getContainer(): ComponentContainer
    {
        return $this->container;
    }

    public function getInfolist(): Infolist
    {
        return $this->getContainer()->getInfolist();
    }

    public function getLivewire(): ?Component
    {
        return $this->getContainer()->getLivewire();
    }
}

Function Calls

None

Variables

None

Stats

MD5 928eb726714744670f110e46894d4c65
Eval Count 0
Decode Time 100 ms