Documentation

EnvironmentVariableResolver
in package
implements DefinitionResolver

Resolves a environment variable definition to a value.

Tags
template-implements
author

James Harris james.harris@icecave.com.au

Table of Contents

Interfaces

DefinitionResolver
Resolves a definition to a value.

Properties

$definitionResolver  : DefinitionResolver
$variableReader  : callable

Methods

__construct()  : mixed
isResolvable()  : bool
Check if a definition can be resolved.
resolve()  : mixed
Resolve an environment variable definition to a value.
getEnvVariable()  : mixed

Properties

Methods

isResolvable()

Check if a definition can be resolved.

public isResolvable(Definition $definition[, array<string|int, mixed> $parameters = [] ]) : bool
Parameters
$definition : Definition

Object that defines how the value should be obtained.

$parameters : array<string|int, mixed> = []

Optional parameters to use to build the entry.

Return values
bool

        
On this page

Search results