[Neos] Re: What's the DSL for the evaluate designator?

Olle Haerstedt o.haerstedt at bitmotion.de
Mon May 4 10:37:35 CEST 2015


Answer by C Mueller:

No DSL, designed before Eel.

Any reference to "current" like "current.securityContext.account" relates to the Setting "TYPO3.Flow.aop.globalObjects", so you can add (singleton) objects there that are available in the pointcut expressions. Inside of evaluate you can basically do comparisons with one of the following operations:

===
!==
<=
>=
<
>
in
contains
matches

and logical operators to add comparisons (&&, ||).

The usage of "this" refers to the Advice object.


More information about the Neos mailing list