芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/vendor/mockery/mockery/library/Mockery/Loader/RequireLoader.php
path = realpath($path) ?: sys_get_temp_dir(); } public function load(MockDefinition $definition) { if (class_exists($definition->getClassName(), false)) { return; } $tmpfname = $this->path . DIRECTORY_SEPARATOR . "Mockery_" . uniqid() . ".php"; file_put_contents($tmpfname, $definition->getCode()); require $tmpfname; } }