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 /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@..

Decoded Output download

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Security\Http\LoginLink;

/**
 * @author Ryan Weaver <[email protected]>
 */
class LoginLinkDetails
{
    public function __construct(
        private string $url,
        private \DateTimeImmutable $expiresAt,
    ) {
    }

    public function getUrl(): string
    {
        return $this->url;
    }

    public function getExpiresAt(): \DateTimeImmutable
    {
        return $this->expiresAt;
    }

    public function __toString(): string
    {
        return $this->url;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Security\Http\LoginLink;

/**
 * @author Ryan Weaver <[email protected]>
 */
class LoginLinkDetails
{
    public function __construct(
        private string $url,
        private \DateTimeImmutable $expiresAt,
    ) {
    }

    public function getUrl(): string
    {
        return $this->url;
    }

    public function getExpiresAt(): \DateTimeImmutable
    {
        return $this->expiresAt;
    }

    public function __toString(): string
    {
        return $this->url;
    }
}

Function Calls

None

Variables

None

Stats

MD5 152f9d0fff88743a1f42556d59b5e4d4
Eval Count 0
Decode Time 85 ms