Documentation

EnvParametersResource
in package
implements SelfCheckingResourceInterface, Serializable

EnvParametersResource represents resources stored in prefixed environment variables.

Tags
author

Chris Wilkinson chriswilkinson84@gmail.com

deprecated

since version 3.4, to be removed in 4.0

Interfaces, Classes and Traits

SelfCheckingResourceInterface
Serializable

Table of Contents

$prefix  : string
$variables  : string
__construct()  : mixed
__toString()  : mixed
{@inheritdoc}
getResource()  : array<string|int, mixed>
isFresh()  : mixed
{@inheritdoc}
findVariables()  : mixed

Properties

Methods

__construct()

public __construct(string $prefix) : mixed
Parameters
$prefix : string
Return values
mixed

getResource()

public getResource() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array with two keys: 'prefix' for the prefix used and 'variables' containing all the variables watched by this resource

isFresh()

{@inheritdoc}

public isFresh(mixed $timestamp) : mixed
Parameters
$timestamp : mixed
Return values
mixed

Search results