Task #6598

Make global objects, that should be available in runtime evaluations, configurable

Added by Andreas Förthner over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
AOP
Start date:
2010-02-25
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

At the moment only current.party can be referenced within a pointcut expression. There should be a configuration setting where you can register other objects under the "current." scope. The setting must have an unique name like "party" and a PHP statement, that retrieves this object like "$objectManager->getObject('foo')->getSomething();"

#1

Updated by Andreas Förthner almost 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4613.

#2

Updated by Andreas Förthner almost 11 years ago

  • Status changed from Resolved to Accepted

We should simply use object names and fetch the objects from the object manager. No evil eval anymore.

#3

Updated by Robert Lemke almost 11 years ago

  • Status changed from Accepted to Resolved
  • Target version set to 1.0 alpha 10

Also available in: Atom PDF