misc_pterodactyl-panel/app/Traits/Controllers/JavascriptStatisticsInjection.php

24 lines
No EOL
334 B
PHP

<?php
/**
* Created by PhpStorm.
* User: Stan
* Date: 26-5-2018
* Time: 20:56
*/
namespace Pterodactyl\Traits\Controllers;
use JavaScript;
class JavascriptStatisticsInjection
{
/**
* Injects statistics into javascript
*/
public function injectJavascript($data)
{
Javascript::put($data);
}
}