vendor/wikimedia/shellbox/src/Command/OutputGlobToString.php
raw| 1 | <?php |
| 2 | |
| 3 | namespace Shellbox\Command; |
| 4 | |
| 5 | /** |
| 6 | * An output glob for files that are handled as strings |
| 7 | */ |
| 8 | class OutputGlobToString extends OutputGlob { |
| 9 | public function getOutputFile( $boxedName ) { |
| 10 | $instance = new OutputFileToString; |
| 11 | $this->files[$boxedName] = $instance; |
| 12 | return $instance; |
| 13 | } |
| 14 | } |