Select Types with Dynamic Options save class error


I want to create a dynamic list and I think I did not place the OptionsProvider.php class on the right path:

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,


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

And in the option provider class: