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/09/16 09:26 PM. */ namespace Reliese\Code..
Decoded Output download
<?php
/**
* Created by Cristian.
* Date: 11/09/16 09:26 PM.
*/
namespace Reliese\Coders\Model\Relations;
use Illuminate\Support\Str;
class HasOne extends HasOneOrMany
{
/**
* @return string
*/
public function hint()
{
return $this->related->getQualifiedUserClassName();
}
/**
* @return string
*/
public function name()
{
if ($this->parent->usesSnakeAttributes()) {
return Str::snake($this->related->getClassName());
}
return Str::camel($this->related->getClassName());
}
/**
* @return string
*/
public function method()
{
return 'hasOne';
}
/**
* @return string
*/
public function returnType()
{
return \Illuminate\Database\Eloquent\Relations\HasOne::class;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Created by Cristian.
* Date: 11/09/16 09:26 PM.
*/
namespace Reliese\Coders\Model\Relations;
use Illuminate\Support\Str;
class HasOne extends HasOneOrMany
{
/**
* @return string
*/
public function hint()
{
return $this->related->getQualifiedUserClassName();
}
/**
* @return string
*/
public function name()
{
if ($this->parent->usesSnakeAttributes()) {
return Str::snake($this->related->getClassName());
}
return Str::camel($this->related->getClassName());
}
/**
* @return string
*/
public function method()
{
return 'hasOne';
}
/**
* @return string
*/
public function returnType()
{
return \Illuminate\Database\Eloquent\Relations\HasOne::class;
}
}
Function Calls
None |
Stats
MD5 | b488154838739eafd26301f2d47992b7 |
Eval Count | 0 |
Decode Time | 72 ms |