REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 921 B
Close
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/PhpDocParser/PhpDocParser/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\PhpDocParser\PhpDocParser\PhpDocNodeVisitor; use PHPStan\PhpDocParser\Ast\Node; final class CallablePhpDocNodeVisitor extends \Rector\PhpDocParser\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @readonly * @var string|null */ private $docContent; /** * @var callable(Node, string|null): (int|null|Node) */ private $callable; /** * @param callable(Node $callable, string|null $docContent): (int|null|Node) $callable */ public function __construct(callable $callable, ?string $docContent) { $this->docContent = $docContent; $this->callable = $callable; } /** * @return int|\PHPStan\PhpDocParser\Ast\Node|null */ public function enterNode(Node $node) { $callable = $this->callable; return $callable($node, $this->docContent); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AbstractPhpDocNodeVisitor.php
849 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CallablePhpDocNodeVisitor.php
921 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CloningPhpDocNodeVisitor.php
771 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ParentConnectingPhpDocNodeVisitor.php
1.21 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).