Job
Contains details of a job run.
Constructors / Destructors
| Returns | Signature and Description |
|---|---|
void | __construct(, )Creates a new Job. |
Instance Methods
| Returns | Signature and Description |
|---|---|
string | Gets the export file path. |
Mapper | Gets the Mapper |
ConstSet<string> | Gets the namespaces of the tokens. |
ConstVector<ScannedBase> | Gets the tokens. |
ConstMap<string,ScannedBase> | Gets the tokens, keyed by name |
Method Details
__construct
public function
__construct(string $destination, Mapper $mapper)Creates a new Job.
| Name | Type | Description |
|---|---|---|
$destination | string | The file path to contain exported pages |
$mapper | Mapper | The mapper |
getDestination
public function
getDestination()Gets the export file path.
| Type | Description |
|---|---|
string | The file path to contain exported pages |
getMapper
public function
getMapper()Gets the Mapper
| Type | Description |
|---|---|
Mapper | The mapper |
getNamespaces
public function
getNamespaces()Gets the namespaces of the tokens.
| Type | Description |
|---|---|
ConstSet<string> | The token namespaces |
getTokens
public function
getTokens()Gets the tokens.
| Type | Description |
|---|---|
ConstVector<ScannedBase> | The scanned tokens |
getTokensByName
public function
getTokensByName()Gets the tokens, keyed by name
| Type | Description |
|---|---|
ConstMap<string,ScannedBase> | The scanned tokens, keyed by name |