Override controller in src directory (AccountPageController) Concrete5 8.3.2

Permalink
Hey,
I would like to know how to override controller in src directory (concrete/src/Page/controller/AccountPageController.php)

I tried to do it by creating application/src/Page/controller/AccountPageController.php
or application/src/Concrete/Page/controller/AccountPageController.php, and adding namespace to aliases array in config/app.php, but it didn't work.

I use version 8.3.2.