File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/vendor/symplify/astral/src/PhpParser/SmartPhpParser.php
Back
<?php declare (strict_types=1); namespace RectorPrefix202208\Symplify\Astral\PhpParser; use PhpParser\Node\Stmt; use PHPStan\Parser\Parser; /** * @see \Symplify\Astral\PhpParser\SmartPhpParserFactory * * @api */ final class SmartPhpParser { /** * @var \PHPStan\Parser\Parser */ private $parser; public function __construct(Parser $parser) { $this->parser = $parser; } /** * @return Stmt[] */ public function parseFile(string $file) : array { return $this->parser->parseFile($file); } /** * @return Stmt[] */ public function parseString(string $sourceCode) : array { return $this->parser->parseString($sourceCode); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings