Shellbox
Library and server for containerized shell execution
Loading...
Searching...
No Matches
Shellbox\Command\OutputEntity Class Reference

An umbrella for OutputFile and OutputGlob which exists for the convenience of LocalBoxedExecutor::collectOutputFiles(). More...

+ Inheritance diagram for Shellbox\Command\OutputEntity:

Public Member Functions

 getInstance ( $boxedName)
 Get an OutputFile corresponding to an instance of the OutputEntity.
 

Detailed Description

An umbrella for OutputFile and OutputGlob which exists for the convenience of LocalBoxedExecutor::collectOutputFiles().

Member Function Documentation

◆ getInstance()

Shellbox\Command\OutputEntity::getInstance ( $boxedName)
abstract

Get an OutputFile corresponding to an instance of the OutputEntity.

For OutputFile objects this returns $this. For OutputGlob objects it returns an OutputFile object for a file that matches the glob.

Parameters
string$boxedName
Returns
OutputFile

Reimplemented in Shellbox\Command\OutputFile, Shellbox\Command\OutputGlobPlaceholder, Shellbox\Command\OutputGlobToFile, and Shellbox\Command\OutputGlobToString.


The documentation for this class was generated from the following file: