Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/vendor/phpmd/phpmd/src/main/php/PHPMD/Cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/vendor/phpmd/phpmd/src/main/php/PHPMD/Cache/ResultCacheWriter.php
<?php

namespace PHPMD\Cache;

use PHPMD\Cache\Model\ResultCacheState;

class ResultCacheWriter
{
    /** @var string */
    private $filePath;

    /**
     * @param string $filePath
     */
    public function __construct($filePath)
    {
        $this->filePath = $filePath;
    }

    public function write(ResultCacheState $state)
    {
        $output = "<?php \n\nreturn ";
        $output .= var_export($state->toArray(), true);
        $output .= ";\n";

        file_put_contents($this->filePath, $output);
    }
}

Spamworldpro Mini