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 Phug\Parser\Event; use Phug\Event; use Phug\Parser\NodeInterface; class..

Decoded Output download

<?php

namespace Phug\Parser\Event;

use Phug\Event;
use Phug\Parser\NodeInterface;

class NodeEvent extends Event
{
    private $node;

    /**
     * NodeEvent constructor.
     *
     * @param $name
     * @param NodeInterface $node
     */
    public function __construct($name, NodeInterface $node)
    {
        parent::__construct($name);

        $this->node = $node;
    }

    /**
     * @return NodeInterface
     */
    public function getNode()
    {
        return $this->node;
    }

    /**
     * @param NodeInterface $node
     */
    public function setNode($node)
    {
        $this->node = $node;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Phug\Parser\Event;

use Phug\Event;
use Phug\Parser\NodeInterface;

class NodeEvent extends Event
{
    private $node;

    /**
     * NodeEvent constructor.
     *
     * @param $name
     * @param NodeInterface $node
     */
    public function __construct($name, NodeInterface $node)
    {
        parent::__construct($name);

        $this->node = $node;
    }

    /**
     * @return NodeInterface
     */
    public function getNode()
    {
        return $this->node;
    }

    /**
     * @param NodeInterface $node
     */
    public function setNode($node)
    {
        $this->node = $node;
    }
}

Function Calls

None

Variables

None

Stats

MD5 dd25680511b70ff5346186c8c4c02a94
Eval Count 0
Decode Time 73 ms