CliAdapter
extends GenericAdapter
in package
FinalYes
XSLT adapter that shells out to an external command-line processor.
Tags
Table of Contents
Properties
- $param : array<string|int, mixed>
- $source : InputInterface
- $template : InputInterface
Methods
- __construct() : mixed
- setParameters() : void
- setSource() : void
- setTemplate() : void
- writeDocument() : DOMDocument
- writeFile() : SplFileInfo
- (non-PHPdoc)
Properties
$param
protected
array<string|int, mixed>
$param
= []
$source
protected
InputInterface
$source
$template
protected
InputInterface
$template
Methods
__construct()
public
__construct(string $path, string $args) : mixed
Parameters
- $path : string
- $args : string
setParameters()
public
setParameters(array<string|int, mixed> $param) : void
Parameters
- $param : array<string|int, mixed>
setSource()
public
setSource(InputInterface $input) : void
Parameters
- $input : InputInterface
setTemplate()
public
setTemplate(InputInterface $input) : void
Parameters
- $input : InputInterface
writeDocument()
public
writeDocument() : DOMDocument
Return values
DOMDocumentwriteFile()
(non-PHPdoc)
public
writeFile([SplFileInfo|null $outputFile = null ]) : SplFileInfo
Parameters
- $outputFile : SplFileInfo|null = null