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 Rector\Symfony\PhpDocNode; use PHPStan\PhpDocP..
Decoded Output download
<?php
declare (strict_types=1);
namespace Rector\Symfony\PhpDocNode;
use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
use Rector\BetterPhpDocParser\PhpDoc\ArrayItemNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\Symfony\Enum\SymfonyAnnotation;
final class SymfonyRouteTagValueNodeFactory
{
/**
* @param ArrayItemNode[] $arrayItemNodes
*/
public function createFromItems(array $arrayItemNodes) : DoctrineAnnotationTagValueNode
{
$identifierTypeNode = new IdentifierTypeNode(SymfonyAnnotation::ROUTE);
return new DoctrineAnnotationTagValueNode($identifierTypeNode, null, $arrayItemNodes, 'path');
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare (strict_types=1);
namespace Rector\Symfony\PhpDocNode;
use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
use Rector\BetterPhpDocParser\PhpDoc\ArrayItemNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\Symfony\Enum\SymfonyAnnotation;
final class SymfonyRouteTagValueNodeFactory
{
/**
* @param ArrayItemNode[] $arrayItemNodes
*/
public function createFromItems(array $arrayItemNodes) : DoctrineAnnotationTagValueNode
{
$identifierTypeNode = new IdentifierTypeNode(SymfonyAnnotation::ROUTE);
return new DoctrineAnnotationTagValueNode($identifierTypeNode, null, $arrayItemNodes, 'path');
}
}
Function Calls
None |
Stats
MD5 | 4378ea6cbcebd3866b3ecfe5d62e216f |
Eval Count | 0 |
Decode Time | 105 ms |