Page MenuHomeWickedGov Phorge

ServerUnboxedExecutor.php
No OneTemporary

Size
789 B
Referenced Files
None
Subscribers
None

ServerUnboxedExecutor.php

<?php
namespace Shellbox\Command;
use Shellbox\TempDirManager;
/**
* Typically UnboxedExecutor rarely needs a TempDirManager, and so it is
* lazy-initialised to avoid the need for secure random numbers in the usual
* case. This ServerUnboxedExecutor instead takes a TempDirManager injected
* into its constructor, which is convenient for the Server since it has already
* initialised such an object.
*/
class ServerUnboxedExecutor extends UnboxedExecutor {
/** @var TempDirManager */
private $tempDirManager;
/**
* @param TempDirManager $tempDirManager
*/
public function __construct( TempDirManager $tempDirManager ) {
parent::__construct();
$this->tempDirManager = $tempDirManager;
}
protected function getTempDirManager() {
return $this->tempDirManager;
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 04:20 (13 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2c/7a/9a425d389b970362e3df40ac9d40
Default Alt Text
ServerUnboxedExecutor.php (789 B)

Event Timeline