dispatch_hooks(); } public function dispatch_hooks() { ( new Instructor() )->dispatch_actions(); ( new Withdraw() )->dispatch_actions(); ( new FakeOrder() )->dispatch_actions(); } }