Page MenuHomeWickedGov Phorge

UnboxedCommand.php
No OneTemporary

Size
638 B
Referenced Files
None
Subscribers
None

UnboxedCommand.php

<?php
namespace Shellbox\Command;
/**
* A command without file handling.
*
* This is almost the same as Command, except with a type-hinted executor.
*/
class UnboxedCommand extends Command {
/** @var UnboxedExecutor */
protected $executor;
/**
* External callers should typically use UnboxedExecutor::createCommand()
*
* @param UnboxedExecutor $executor
*/
public function __construct( UnboxedExecutor $executor ) {
$this->executor = $executor;
}
/**
* Execute the command with the current executor
*
* @return UnboxedResult
*/
public function execute() {
return $this->executor->execute( $this );
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 19:15 (2 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/3b/a4c230d183e032dac5f7cf74b55c
Default Alt Text
UnboxedCommand.php (638 B)

Event Timeline