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 /** * Created by Cristian. * Date: 11/10/16 11:43 PM. */ namespace Reliese\Code..

Decoded Output download

<?php

/**
 * Created by Cristian.
 * Date: 11/10/16 11:43 PM.
 */

namespace Reliese\Coders\Model;

use Illuminate\Support\Str;

class Mutation
{
    /**
     * @var string
     */
    protected $name;

    /**
     * @var string
     */
    protected $body;

    /**
     * Mutation constructor.
     *
     * @param string $name
     * @param string $body
     */
    public function __construct($name, $body)
    {
        $this->name = $name;
        $this->body = $body;
    }

    /**
     * @return string
     */
    public function name()
    {
        return 'get'.Str::studly($this->name).'Attribute';
    }

    /**
     * @return string
     */
    public function body()
    {
        return 'return '.$this->body.';';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * Created by Cristian.
 * Date: 11/10/16 11:43 PM.
 */

namespace Reliese\Coders\Model;

use Illuminate\Support\Str;

class Mutation
{
    /**
     * @var string
     */
    protected $name;

    /**
     * @var string
     */
    protected $body;

    /**
     * Mutation constructor.
     *
     * @param string $name
     * @param string $body
     */
    public function __construct($name, $body)
    {
        $this->name = $name;
        $this->body = $body;
    }

    /**
     * @return string
     */
    public function name()
    {
        return 'get'.Str::studly($this->name).'Attribute';
    }

    /**
     * @return string
     */
    public function body()
    {
        return 'return '.$this->body.';';
    }
}

Function Calls

None

Variables

None

Stats

MD5 f3bbe2b956b209590649e14c54b9bcb0
Eval Count 0
Decode Time 76 ms