This doesn’t work in Flow 4.0 any more (was OK in Flow 3.x):
use Neos\Flow\Annotations as Flow;
/**
* @var string
* @Flow\Inject(setting="http.baseUri", package="Neos.Flow")
*/
protected $baseUri;
The error message is:
The object “string” which was specified as a property in the object configuration of object “Aimeos\Shop\Command\AimeosCommandController” (configuration of package Aimeos.Shop, definition for object “Aimeos\Shop\Command\AimeosCommandController”) does not exist.
What’s the correct syntax now for retrieving strings?