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 declare(strict_types=1); namespace Cake\PHPStan; use PHPStan\Reflection\ClassRefle..
Decoded Output download
<?php
declare(strict_types=1);
namespace Cake\PHPStan;
use PHPStan\Reflection\ClassReflection;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\ObjectType;
use PHPStan\Type\Type;
class TableFindByPropertyMethodReflection implements MethodReflection
{
/**
* @var string
*/
private $name;
/**
* @var \PHPStan\Reflection\ClassReflection
*/
private $declaringClass;
public function __construct(string $name, ClassReflection $declaringClass)
{
$this->name = $name;
$this->declaringClass = $declaringClass;
}
public function getDeclaringClass(): ClassReflection
{
return $this->declaringClass;
}
public function getPrototype(): MethodReflection
{
return $this;
}
public function isStatic(): bool
{
return false;
}
/**
* @return \PHPStan\Reflection\ParameterReflection[]
*/
public function getParameters(): array
{
return [];
}
public function isVariadic(): bool
{
return true;
}
public function isPrivate(): bool
{
return false;
}
public function isPublic(): bool
{
return true;
}
public function getName(): string
{
return $this->name;
}
public function getReturnType(): Type
{
return new ObjectType('Cake\ORM\Query\SelectQuery');
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Cake\PHPStan;
use PHPStan\Reflection\ClassReflection;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\ObjectType;
use PHPStan\Type\Type;
class TableFindByPropertyMethodReflection implements MethodReflection
{
/**
* @var string
*/
private $name;
/**
* @var \PHPStan\Reflection\ClassReflection
*/
private $declaringClass;
public function __construct(string $name, ClassReflection $declaringClass)
{
$this->name = $name;
$this->declaringClass = $declaringClass;
}
public function getDeclaringClass(): ClassReflection
{
return $this->declaringClass;
}
public function getPrototype(): MethodReflection
{
return $this;
}
public function isStatic(): bool
{
return false;
}
/**
* @return \PHPStan\Reflection\ParameterReflection[]
*/
public function getParameters(): array
{
return [];
}
public function isVariadic(): bool
{
return true;
}
public function isPrivate(): bool
{
return false;
}
public function isPublic(): bool
{
return true;
}
public function getName(): string
{
return $this->name;
}
public function getReturnType(): Type
{
return new ObjectType('Cake\ORM\Query\SelectQuery');
}
}
Function Calls
| None |
Stats
| MD5 | 32aa06bf1f7c3cb5bce78c18e556ca24 |
| Eval Count | 0 |
| Decode Time | 126 ms |