the following code is abbreviated, roughly in this way, just look at the key points
again, don"t worry about the details, I can use [] to mark the key points ~
class xxx
{
public function file($name = "")
{
$item[$name] = (new Upload($temp["tmp_name"]))->setUploadInfo($temp);
retuirn $item[$name];
}
}
$file = (new xxx)->file("xxx");
$file->xxxUpload "->XXX" ide
so how to solve this problem? If you don"t give a hint, it will greatly reduce your work efficiency
.