1459. Class

1459.1. Zend\Config\Processor\Constant

1459.1.1. Methods

1459.1.1.1. __construct

__construct()

Constant Processor walks through a Config structure and replaces all PHP constants with their respective values

Parameters:
  • bool – True to process only user-defined constants, false to process all PHP constants
  • string – Optional prefix
  • string – Optional suffix
Return type:

ZendConfigProcessorConstant

1459.1.1.2. getUserOnly

getUserOnly()

@return bool

1459.1.1.3. setUserOnly

setUserOnly()

Should we use only user-defined constants?

Parameters:bool
Return type:Constant

1459.1.1.4. loadConstants

loadConstants()

Load all currently defined constants into parser.

Return type:void

1459.1.1.5. getTokens

getTokens()

Get current token registry.

Return type:array

Project Versions

Table Of Contents

Previous topic

1458. Class

Next topic

1460. Class

This Page