Feature #41358

Allow class/interface constants in configuration directives

Added by Adrian Föder almost 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-09-25
Priority:Could have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:Configuration
Target version:TYPO3 Flow Base Distribution - 2.0 beta 1
PHP Version: Complexity:easy
Has patch:Yes

Description

currently, only "raw" plain PHP constants can be used in YAML files, like %FLOW3_PATH_FLOW3%.
IMHO nothing speaks against allowing class constants to be used here, too.

Associated revisions

Revision 50832abe
Added by Adrian Föder over 2 years ago

[FEATURE] Allow class constants in Configuration

Currently, only plain PHP constants are allowed for substitution in
Configuration files. This changes the regular expression in order to
match class constants too.

So not only ``%PHP_VERSION%`` would be possible, but also, for example,
``%TYPO3\FLOW3\Core\Bootstrap::MINIMUM_PHP_VERSION%``.

Change-Id: I50aa1eb3d079b011d79e6c7255559257ae683204
Resolves: #41358
Releases: 1.2

History

#1 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15074

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15074

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15074

#4 Updated by Adrian Föder over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF