Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5976575
UnboxedCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
UnboxedCommand.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 19:15 (2 d, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/3b/a4c230d183e032dac5f7cf74b55c
Default Alt Text
UnboxedCommand.php (638 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment