I'm trying to customize my TypoScript conditions with Symfony Expression Language. I've followed the instructions of the example of typo3.
So i created a new file Example_Ext/Configuration/ExpressionLanguage.php
with the example hook and also created both files CustomTypoScriptConditionProvider.php
and CustomConditionFunctionsProvider.php
in Example_Ext/Classes/ExpressionLanguage
However, as soon as I load my extension i just get the error Class \Vendor\Example_Ext\ExpressionLanguage\CustomTypoScriptConditionProvider not found
and tbh I don't know why.
I also cleared all cache, un-/loaded the extension a couple of times and cleared the autoloader as mentioned in another thread. But it still won't work. I know that this error occurs in the first hook ExpressionLanguage.php
because if I change the path to the file the error changes also to the new path.
Any suggestions how to fix this problem?
Kind regards.