Skip to content

TempConstantsBag

MekDrop edited this page Jul 25, 2022 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\SymfonyTranslationsConstantsLoader\TempConstantsBag

Class to handle some temporary constants data

Methods

Name Description
clear Clear current data
define Fake constant definer
getAll Get all stored data

TempConstantsBag::clear

Description

public static clear (void)

Clear current data

Parameters

This function has no parameters.

Return Values

void


TempConstantsBag::define

Description

public static define (string $constant, mixed $value)

Fake constant definer

Parameters

  • (string) $constant : Constant to define
  • (mixed) $value : Value of constant

Return Values

void


TempConstantsBag::getAll

Description

public static getAll (void)

Get all stored data

Parameters

This function has no parameters.

Return Values

array