App\Console\Commands\DestinyManifestCommand::export PHP Method

export() protected method

protected export ( $folder, $hash, array $json )
$json array
    protected function export($folder, $hash, array $json)
    {
        $path = $this->path($folder);
        \File::put("{$path}/{$hash}.php", "<?php return " . var_export($json, true) . ";\n");
        if (function_exists('opcache_invalidate')) {
            opcache_invalidate($path, true);
        }
    }