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 BookStack\Search; use BookStack\App\Model; class SearchTerm extends Mod..

Decoded Output download

<?php

namespace BookStack\Search;

use BookStack\App\Model;

class SearchTerm extends Model
{
    protected $fillable = ['term', 'entity_id', 'entity_type', 'score'];
    public $timestamps = false;

    /**
     * Get the entity that this term belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\MorphTo
     */
    public function entity()
    {
        return $this->morphTo('entity');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace BookStack\Search;

use BookStack\App\Model;

class SearchTerm extends Model
{
    protected $fillable = ['term', 'entity_id', 'entity_type', 'score'];
    public $timestamps = false;

    /**
     * Get the entity that this term belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\MorphTo
     */
    public function entity()
    {
        return $this->morphTo('entity');
    }
}

Function Calls

None

Variables

None

Stats

MD5 d69e9e8f0564cdb1772f6bf7ad9ca4ae
Eval Count 0
Decode Time 108 ms