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 RectorPrefix202406\Doctrine\Inflector; class C..
Decoded Output download
<?php
declare (strict_types=1);
namespace RectorPrefix202406\Doctrine\Inflector;
class CachedWordInflector implements WordInflector
{
/** @var WordInflector */
private $wordInflector;
/** @var string[] */
private $cache = [];
public function __construct(WordInflector $wordInflector)
{
$this->wordInflector = $wordInflector;
}
public function inflect(string $word) : string
{
return $this->cache[$word] ?? ($this->cache[$word] = $this->wordInflector->inflect($word));
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare (strict_types=1);
namespace RectorPrefix202406\Doctrine\Inflector;
class CachedWordInflector implements WordInflector
{
/** @var WordInflector */
private $wordInflector;
/** @var string[] */
private $cache = [];
public function __construct(WordInflector $wordInflector)
{
$this->wordInflector = $wordInflector;
}
public function inflect(string $word) : string
{
return $this->cache[$word] ?? ($this->cache[$word] = $this->wordInflector->inflect($word));
}
}
Function Calls
None |
Stats
MD5 | 8b2b3c65c5022ce5ffcf5303f0c4b5c2 |
Eval Count | 0 |
Decode Time | 86 ms |