Select Types with Dynamic Options save class error


#1

Hi
I want to create a dynamic list and I think I did not place the OptionsProvider.php class on the right path:
\vendor\pimcore\pimcore\models\Translation\Website

I get error on saving the class.
Message: Attempted to load class “OptionsProvider” from namespace “\WebSite”.
Did you forget a “use” statement for “Pimcore\Workflow\Place\OptionsProvider”?

I followed the example in the documentation.

Any help will be most welcome,
Thanks
Eli


#2

OK, I got it.
I copy the class to: \src\AppBundle\Tool
namespace AppBundle\Tool;

And in the option provider class:
\AppBundle\Tool\OptionsProvider