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 Pagekit\Auth\Event; use Pagekit\Auth\UserInterface; use Pagekit\Event\Ev..

Decoded Output download

<?php

namespace Pagekit\Auth\Event;

use Pagekit\Auth\UserInterface;
use Pagekit\Event\Event as BaseEvent;

class Event extends BaseEvent
{
    /**
     * @var UserInterface
     */
    protected $user;

    /**
     * Constructor.
     *
     * @param string $name	 
     * @param UserInterface $user
     */
    public function __construct($name, UserInterface $user = null)
    {
        parent::__construct($name);

        $this->user = $user;
    }

    /**
     * Gets the user.
     *
     * @return UserInterface|null
     */
    public function getUser()
    {
        return $this->user;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Auth\Event;

use Pagekit\Auth\UserInterface;
use Pagekit\Event\Event as BaseEvent;

class Event extends BaseEvent
{
    /**
     * @var UserInterface
     */
    protected $user;

    /**
     * Constructor.
     *
     * @param string $name	 
     * @param UserInterface $user
     */
    public function __construct($name, UserInterface $user = null)
    {
        parent::__construct($name);

        $this->user = $user;
    }

    /**
     * Gets the user.
     *
     * @return UserInterface|null
     */
    public function getUser()
    {
        return $this->user;
    }
}

Function Calls

None

Variables

None

Stats

MD5 27c17504235eaec26c8f867794e5030b
Eval Count 0
Decode Time 68 ms