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

An OutputGlob for files that are sent to a server with PUT requests. More...

+ Inheritance diagram for Shellbox\Command\OutputGlobToUrl:

Public Member Functions

 __construct (string $prefix, string $extension, $destUrl)
 
 getOutputFile ( $boxedName)
 Get an OutputFile corresponding to a single file that matches the glob.
 
 getClientData ()
 Get JSON serializable data for client/server communication.
 
- Public Member Functions inherited from Shellbox\Command\OutputGlob
 __construct ( $prefix, $extension)
 
 getPrefix ()
 
 getExtension ()
 
 getId ()
 
 getFiles ()
 
 isMatch ( $boxedName)
 Determine whether a given relative path matches the glob pattern.
 

Additional Inherited Members

- Static Public Member Functions inherited from Shellbox\Command\OutputGlob
static newFromClientData (array $data)
 This is used on the server side to create a placeholder object for globs based on a specification received from the client.
 
- Protected Attributes inherited from Shellbox\Command\OutputGlob
 $prefix
 
 $extension
 
 $files = []
 

Detailed Description

An OutputGlob for files that are sent to a server with PUT requests.

Since
4.1.0

Member Function Documentation

◆ getClientData()

Shellbox\Command\OutputGlobToUrl::getClientData ( )

Get JSON serializable data for client/server communication.

Reimplemented from Shellbox\Command\OutputGlob.

◆ getOutputFile()

Shellbox\Command\OutputGlobToUrl::getOutputFile ( $boxedName)

Get an OutputFile corresponding to a single file that matches the glob.

Reimplemented from Shellbox\Command\OutputGlob.


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