File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/packages/FileSystemRector/ValueObject/AddedFileWithNodes.php
Back
<?php declare (strict_types=1); namespace Rector\FileSystemRector\ValueObject; use PhpParser\Node; use Rector\FileSystemRector\Contract\AddedFileInterface; use Rector\FileSystemRector\Contract\FileWithNodesInterface; final class AddedFileWithNodes implements AddedFileInterface, FileWithNodesInterface { /** * @readonly * @var string */ private $filePath; /** * @var Node\Stmt[] * @readonly */ private $nodes; /** * @param Node\Stmt[] $nodes */ public function __construct(string $filePath, array $nodes) { $this->filePath = $filePath; $this->nodes = $nodes; } public function getFilePath() : string { return $this->filePath; } /** * @return Node\Stmt[] */ public function getNodes() : array { return $this->nodes; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings