I don't know if this is a duplicate, I couldn't find anything. I'm sorry.
Alright, so I've made a couple of classes like this:
abstract class Bank(){}
class HB extends Bank(){}
class NO extends Bank(){}
class BankController(){}
class Contract(){}
and I'm using them like this:
$contract = new Contract();
$bank = new HB();
$bankC = new BankController($bank);
$bankC->setContract($contract)->processContract()->sendRequest();
My question is, where do I put the BankController? Because I don't really wanna put them in the controller folder cause I don't want to access them through the URL. What would you guys do? Or do you create a new folder?