I would like to load a Class that I have located in src/Bandit/EpsilonGreedy
. EpsilonGreedy itself extends an abstract class located in the same Folder src/Bandit/ABandit
.
When I try to load the class with new App\Bandit\EpsilonGreedy();
I nor get an error message nor an instance of the class.
The namespace on top of both PHP-Files i have choosen is namespace App\Bandit;
.
Do I have to bypass the autoloader of CakePHP to instantiate such classes in own Folders beside Controller
, Model
and View
?
Thanks!