Shellbox
Library and server for containerized shell execution
|
An OutputGlob for files that are sent to a server with PUT requests. More...
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 = [] | |
An OutputGlob for files that are sent to a server with PUT requests.
Shellbox\Command\OutputGlobToUrl::getClientData | ( | ) |
Get JSON serializable data for client/server communication.
Reimplemented from Shellbox\Command\OutputGlob.
Shellbox\Command\OutputGlobToUrl::getOutputFile | ( | $boxedName | ) |
Get an OutputFile corresponding to a single file that matches the glob.
Reimplemented from Shellbox\Command\OutputGlob.