文件操作 - StaticCallToNew.php
返回文件管理
返回主菜单
删除本文件
文件: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Transform/ValueObject/StaticCallToNew.php
编辑文件内容
<?php declare (strict_types=1); namespace Rector\Transform\ValueObject; use Rector\Validation\RectorAssert; final class StaticCallToNew { /** * @readonly * @var string */ private $class; /** * @readonly * @var string */ private $method; public function __construct(string $class, string $method) { $this->class = $class; $this->method = $method; RectorAssert::className($class); RectorAssert::methodName($method); } public function getClass() : string { return $this->class; } public function getMethod() : string { return $this->method; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件